We do our best to keep copyright headers up to date, yet git history provides better information on this subject and is more accurate than copyright headers.
15 lines
276 B
C
15 lines
276 B
C
/*
|
|
* Copyright (c) 2015-2018 The strace developers.
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
/* Return codes: 1 - ok, 0 - ignore, other - error. */
|
|
static int
|
|
arch_get_scno(struct tcb *tcp)
|
|
{
|
|
tcp->scno = nios2_regs.regs[2];
|
|
return 1;
|
|
}
|