Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
0efd888e22de7c8e0086c2a217c0b851436c3bbf
/
.
/
linux
/
nios2
/
get_scno.c
blob: f4db85eed533be80332aebfcacf31d9ed1af6669 [
file
] [
log
] [
blame
]
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static
int
arch_get_scno
(
struct
tcb
*
tcp
)
{
tcp
->
scno
=
nios2_regs
.
regs
[
2
];
return
1
;
}