1 static int get_syscall_result_regs(struct tcb * tcp)2 get_syscall_result_regs(struct tcb *tcp) 3 { 4 /* ABI defines result returned in r9 */ 5 return upeek(tcp->pid, REG_GENERAL(9), (long *)&sh64_r9) < 0 ? -1 : 0; 6 } 7