Sign in
android
/
platform
/
external
/
strace
/
a067b8d
/
.
/
linux
/
metag
/
get_scno.c
blob: 6dc2ab4abf93ca6bcda263b0bc62f3e7b1687099 [
file
] [
log
] [
blame
]
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static
int
arch_get_scno
(
struct
tcb
*
tcp
)
{
tcp
->
scno
=
metag_regs
.
dx
[
0
][
1
];
/* syscall number in D1Re0 (D1.0) */
return
1
;
}