Sign in
android
/
platform
/
external
/
strace
/
c3d5666b1d90abd892656852567bf3b5fb63ab29
/
.
/
linux
/
sh64
/
set_error.c
blob: 35271fb52ca11213984e5b28ff7b4901380ea8e2 [
file
] [
log
] [
blame
]
static
int
arch_set_error
(
struct
tcb
*
tcp
)
{
sh64_r9
=
-
tcp
->
u_error
;
return
upoke
(
tcp
->
pid
,
REG_GENERAL
(
9
),
sh64_r9
);
}
static
int
arch_set_success
(
struct
tcb
*
tcp
)
{
sh64_r9
=
tcp
->
u_rval
;
return
upoke
(
tcp
->
pid
,
REG_GENERAL
(
9
),
sh64_r9
);
}