Searched refs:SPR_SR_SM (Results 1 – 7 of 7) sorted by relevance
/linux/arch/openrisc/include/asm/ |
A D | processor.h | 26 | SPR_SR_DCE | SPR_SR_SM)
|
A D | ptrace.h | 70 #define user_mode(regs) (((regs)->sr & SPR_SR_SM) == 0)
|
A D | spr_defs.h | 215 #define SPR_SR_SM 0x00000001 /* Supervisor Mode */ macro
|
/linux/arch/openrisc/kernel/ |
A D | process.c | 213 unsigned long sr = mfspr(SPR_SR) & ~SPR_SR_SM; in start_thread()
|
A D | head.S | 43 #define EXCEPTION_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_DCE | SPR_SR_ICE | SPR_SR_SM) 44 …SCALL_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_DCE | SPR_SR_ICE | SPR_SR_IEE | SPR_SR_TEE | SPR_SR_SM) 224 l.andi r30,r30,SPR_SR_SM ;\ 971 l.andi r6,r6,SPR_SR_SM // are we in kernel mode ? 1067 l.andi r6,r6,SPR_SR_SM // are we in kernel mode ? 1707 l.ori r3,r0,SPR_SR_SM
|
A D | signal.c | 55 regs->sr &= ~SPR_SR_SM; in restore_sigcontext()
|
A D | entry.S | 979 l.andi r3,r4,SPR_SR_SM
|
Completed in 12 milliseconds