Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
2b42d8e32fcc90c82acc592b62e03f487787ac44
/
.
/
linux
/
xtensa
/
get_syscall_result.c
blob: 51ad6deab218d06980b833b4ed420befa1d05246 [
file
] [
log
] [
blame
]
Dmitry V. Levin
f51aec6
2015-11-30 00:01:01 +0000
[
diff
] [
blame
]
1
static
int
2
get_syscall_result_regs
(
struct
tcb
*
tcp
)
3
{
4
return
upeek
(
tcp
->
pid
,
REG_A_BASE
+
2
,
&
xtensa_a2
)
<
0
?
-
1
:
0
;
5
}