1 static struct user_pt_regs nios2_regs;
2 unsigned int *const nios2_sp_ptr = &nios2_regs.regs[PTR_SP];
3 # define ARCH_REGS_FOR_GETREGSET nios2_regs
4 #define ARCH_PC_REG nios2_regs.regs[PTR_EA]
5