Home | History | Annotate | Download | only in mips
      1 static int
      2 arch_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
     10 arch_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