Lines Matching refs:MASK
53 #undef MASK
54 #define MASK(PART) MASK32(PART)
96 #define MSR_SUPERVISOR_INT_OFF (MASK(MSR_ME) | MASK(MSR_IR) | MASK(MSR_DR))
99 #define MSR_SUPERVISOR_INT_ON (MSR_SUPERVISOR_INT_OFF | MASK(MSR_EE))
102 #define MSR_VM_OFF (MASK(MSR_ME))
105 #define MSR_PHYS_INST_VIRT_DATA (MASK(MSR_ME) | MASK(MSR_IR))
110 #define MSR_EXPORT_MASK_SET (MASK(MSR_EE)| MASK(MSR_ME)| \
111 MASK(MSR_IR)|MASK(MSR_DR)|MASK(MSR_PR))
114 #define MSR_IMPORT_BITS (MASK(MSR_FE0)|MASK(MSR_SE)|MASK(MSR_BE)| \
115 MASK(MSR_FE1)| MASK(MSR_PM) | MASK(MSR_LE))
120 #define MSR_VEC_ON (MASK(MSR_VEC))
122 #define USER_MODE(msr) (msr & MASK(MSR_PR) ? TRUE : FALSE)