Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
2b42d8e32fcc90c82acc592b62e03f487787ac44
/
.
/
linux
/
xtensa
/
get_syscall_result.c
blob: 51ad6deab218d06980b833b4ed420befa1d05246 [
file
] [
log
] [
blame
]
static
int
get_syscall_result_regs
(
struct
tcb
*
tcp
)
{
return
upeek
(
tcp
->
pid
,
REG_A_BASE
+
2
,
&
xtensa_a2
)
<
0
?
-
1
:
0
;
}