Searched refs:MODE_SUPERVISOR (Results 1 – 5 of 5) sorted by relevance
27 #define MODE_SUPERVISOR 0x00400000 macro
294 childregs->sr = MODE_SUPERVISOR; in copy_thread()303 p->thread.cpu_context.sr = MODE_SUPERVISOR | SR_GM; in copy_thread()
323 if ((regs->sr & MODE_MASK) == MODE_SUPERVISOR) { in do_debug()
278 if ((sysreg_read(SR) & MODE_MASK) == MODE_SUPERVISOR) in do_notify_resume()
757 cp.w r4, MODE_SUPERVISOR >> SYSREG_M0_OFFSET