Home
last modified time | relevance | path

Searched refs:TBICTX_PRIV_BIT (Results 1 – 7 of 7) sorted by relevance

/arch/metag/include/asm/
Dptrace.h18 #define user_mode(regs) (((regs)->ctx.SaveMask & TBICTX_PRIV_BIT) > 0)
Dprocessor.h116 regs->ctx.SaveMask = TBICTX_PRIV_BIT; \
Dtbx.h255 #define TBICTX_PRIV_BIT 0x8000 /* Set if system uses 'privileged' model */ macro
/arch/metag/kernel/
Dkick.c80 if (State.Sig.SaveMask & TBICTX_PRIV_BIT) in kick_handler()
Dtraps.c212 if (D0_8 && (State.Sig.SaveMask & TBICTX_PRIV_BIT)) { in nest_interrupts()
239 if (savemask & TBICTX_PRIV_BIT) { in head_end()
240 ctx_savemask |= TBICTX_PRIV_BIT; in head_end()
475 if (State.Sig.SaveMask & TBICTX_PRIV_BIT) in trigger_handler()
Dsignal.c65 regs->REG_FLAGS |= TBICTX_PRIV_BIT; in restore_sigcontext()
/arch/metag/tbx/
Dtbipcx.S88 ANDT D0Ar2,D0Ar2,#TBICTX_PRIV_BIT /* Extract PRIV bit */
177 ANDT D0Ar2,D0Ar2,#TBICTX_PRIV_BIT+TBICTX_WAIT_BIT+TBICTX_CBUF_BIT
356 ORT D0Re0,D0Re0,#TBICTX_PRIV_BIT /* Add PRIV to TXSTATUS */