Searched refs:PLV_MASK (Results 1 – 3 of 3) sorted by relevance
115 #define user_mode(regs) (((regs)->csr_prmd & PLV_MASK) == PLV_USER)
286 #define PLV_MASK 0x3 macro
74 crmd = regs->csr_crmd & ~(PLV_MASK); in start_thread()78 prmd = regs->csr_prmd & ~(PLV_MASK); in start_thread()