1 /* Registers used by SH5 Linux system calls for parameters */ 2 static const int syscall_regs[MAX_ARGS] = { 2, 3, 4, 5, 6, 7 }; 3 unsigned int i; 4 5 for (i = 0; i < tcp->s_ent->nargs; ++i) 6 if (upeek(tcp->pid, REG_GENERAL(syscall_regs[i]), &tcp->u_arg[i]) < 0) 7 return -1; 8