1 static int arch_set_error(struct tcb * tcp)2arch_set_error(struct tcb *tcp) 3 { 4 return upoke(tcp, REG_A3, (alpha_a3 = 1)) 5 || upoke(tcp, REG_R0, (alpha_r0 = tcp->u_error)); 6 } 7 8 static int arch_set_success(struct tcb * tcp)9arch_set_success(struct tcb *tcp) 10 { 11 return upoke(tcp, REG_A3, (alpha_a3 = 0)) 12 || upoke(tcp, REG_R0, (alpha_r0 = tcp->u_rval)); 13 } 14