Home
last modified time | relevance | path

Searched refs:X86_EFLAGS_IOPL_BIT (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/x86/kernel/
Dioport.c125 unsigned int old = t->iopl >> X86_EFLAGS_IOPL_BIT; in SYSCALL_DEFINE1()
136 (level << X86_EFLAGS_IOPL_BIT); in SYSCALL_DEFINE1()
137 t->iopl = level << X86_EFLAGS_IOPL_BIT; in SYSCALL_DEFINE1()
/Linux-v5.4/arch/x86/include/uapi/asm/
Dprocessor-flags.h31 #define X86_EFLAGS_IOPL_BIT 12 /* I/O Privilege Level (2 bits) */ macro
32 #define X86_EFLAGS_IOPL (_AC(3,UL) << X86_EFLAGS_IOPL_BIT)
/Linux-v5.4/arch/x86/kvm/
Demulate.c1894 int iopl = (ctxt->eflags & X86_EFLAGS_IOPL) >> X86_EFLAGS_IOPL_BIT; in emulate_popf()
2934 iopl = (ctxt->eflags & X86_EFLAGS_IOPL) >> X86_EFLAGS_IOPL_BIT; in emulator_bad_iopl()