android13/external/strace/linux/microblaze/set_error.c

14 lines
243 B
C
Raw Normal View History

2024-06-22 08:45:49 -04:00
static int
arch_set_error(struct tcb *tcp)
{
microblaze_r3 = -tcp->u_error;
return upoke(tcp, 3 * 4, microblaze_r3);
}
static int
arch_set_success(struct tcb *tcp)
{
microblaze_r3 = tcp->u_rval;
return upoke(tcp, 3 * 4, microblaze_r3);
}