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