Sign in
android
/
platform
/
external
/
strace
/
refs/tags/android-cts-9.0_r8
/
.
/
linux
/
sh64
/
set_error.c
blob: 29293b22ec41639bdcebecc5bbddc4e8626cb95b [
file
] [
log
] [
blame
]
static
int
arch_set_error
(
struct
tcb
*
tcp
)
{
sh64_r9
=
-
tcp
->
u_error
;
return
upoke
(
tcp
,
REG_GENERAL
(
9
),
sh64_r9
);
}
static
int
arch_set_success
(
struct
tcb
*
tcp
)
{
sh64_r9
=
tcp
->
u_rval
;
return
upoke
(
tcp
,
REG_GENERAL
(
9
),
sh64_r9
);
}