You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
247 B
16 lines
247 B
7 months ago
|
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);
|
||
|
}
|