1 static int
get_syscall_result_regs(struct tcb * tcp)2 get_syscall_result_regs(struct tcb *tcp)
3 {
4 	return upeek(tcp->pid, REG_A_BASE + 2, &xtensa_a2) < 0 ? -1 : 0;
5 }
6