Searched refs:nios2_regs (Results 1 – 6 of 6) sorted by relevance
5 tcp->u_arg[0] = nios2_regs.regs[4]; in get_syscall_args()6 tcp->u_arg[1] = nios2_regs.regs[5]; in get_syscall_args()7 tcp->u_arg[2] = nios2_regs.regs[6]; in get_syscall_args()8 tcp->u_arg[3] = nios2_regs.regs[7]; in get_syscall_args()9 tcp->u_arg[4] = nios2_regs.regs[8]; in get_syscall_args()10 tcp->u_arg[5] = nios2_regs.regs[9]; in get_syscall_args()
1 static struct user_pt_regs nios2_regs; variable2 unsigned int *const nios2_sp_ptr = &nios2_regs.regs[PTR_SP];3 # define ARCH_REGS_FOR_GETREGSET nios2_regs4 #define ARCH_PC_REG nios2_regs.regs[PTR_EA]
4 nios2_regs.regs[7] = 1; in arch_set_error()5 nios2_regs.regs[2] = -tcp->u_error; in arch_set_error()12 nios2_regs.regs[7] = 0; in arch_set_success()13 nios2_regs.regs[2] = tcp->u_rval; in arch_set_success()
11 if (nios2_regs.regs[7]) { in get_error()13 tcp->u_error = nios2_regs.regs[2]; in get_error()15 tcp->u_rval = nios2_regs.regs[2]; in get_error()
5 tcp->scno = nios2_regs.regs[2]; in arch_get_scno()
4 nios2_regs.regs[2] = scno; in arch_set_scno()