Home | History | Annotate | Download | only in sh
      1 static int
      2 get_syscall_result_regs(struct tcb *tcp)
      3 {
      4 	/* new syscall ABI returns result in R0 */
      5 	return upeek(tcp->pid, 4 * REG_REG0, &sh_r0) < 0 ? -1 : 0;
      6 }
      7