/* Return codes: 1 - ok, 0 - ignore, other - error. */ static int arch_get_scno(struct tcb *tcp) { tcp->scno = nios2_regs.regs[2]; return 1; }