Sign in
android
/
platform
/
external
/
strace
/
refs/tags/android-o-mr1-iot-release-smart-clock-fcs
/
.
/
linux
/
sh64
/
get_syscall_result.c
blob: 33c42479440777c09e01b5ace77d3f4bd043fa44 [
file
] [
log
] [
blame
]
static
int
get_syscall_result_regs
(
struct
tcb
*
tcp
)
{
/* ABI defines result returned in r9 */
return
upeek
(
tcp
,
REG_GENERAL
(
9
),
&
sh64_r9
)
<
0
?
-
1
:
0
;
}