1 static int arch_set_error(struct tcb * tcp)2arch_set_error(struct tcb *tcp) 3 { 4 mips_REG_V0 = tcp->u_error; 5 mips_REG_A3 = -1; 6 return set_regs(tcp->pid); 7 } 8 9 static int arch_set_success(struct tcb * tcp)10arch_set_success(struct tcb *tcp) 11 { 12 mips_REG_V0 = tcp->u_rval; 13 mips_REG_A3 = 0; 14 return set_regs(tcp->pid); 15 } 16