Home
last modified time | relevance | path

Searched refs:X86_EFLAGS_VM (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/arch/x86/include/asm/
H A Dprocessor-flags.h20 #define X86_EFLAGS_VM 0x00020000 /* Virtual Mode */ macro
94 #define X86_VM_MASK X86_EFLAGS_VM
/openbmc/linux/arch/x86/include/asm/
H A Dprocessor-flags.h9 #define X86_VM_MASK X86_EFLAGS_VM
/openbmc/linux/arch/x86/entry/
H A Dentry_32.S114 testl $X86_EFLAGS_VM, 5*4(%esp)
320 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax
399 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %ecx
411 testl $X86_EFLAGS_VM, PT_EFLAGS(%esi)
520 testl $(X86_EFLAGS_VM), PT_EFLAGS(%esp)
1053 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
H A Dcommon.c328 (regs->flags & (X86_EFLAGS_RF | X86_EFLAGS_TF | X86_EFLAGS_VM)) == 0; in do_fast_syscall_32()
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dprocessor-flags.h38 #define X86_EFLAGS_VM _BITUL(X86_EFLAGS_VM_BIT) macro
/openbmc/linux/tools/testing/selftests/x86/
H A Dentry_from_vm86.c58 if (ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_VM || in sighandler()
/openbmc/linux/arch/x86/kvm/
H A Demulate.c797 if (ctxt->eflags & X86_EFLAGS_VM) { in emulator_recalc_and_set_mode()
1994 ctxt->src.val = (unsigned long)ctxt->eflags & ~X86_EFLAGS_VM; in em_pushf()
2106 unsigned long vm86_mask = X86_EFLAGS_VM | X86_EFLAGS_VIF | in emulate_iret_real()
2450 ctxt->eflags &= ~(X86_EFLAGS_VM | X86_EFLAGS_IF); in em_syscall()
2487 ctxt->eflags &= ~(X86_EFLAGS_VM | X86_EFLAGS_IF); in em_sysenter()
2838 if (ctxt->eflags & X86_EFLAGS_VM) { in load_state_from_tss32()
H A Dx86.c8446 (ctxt->eflags & X86_EFLAGS_VM) ? X86EMUL_MODE_VM86 : in init_emulate_ctxt()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c152 #define RMODE_GUEST_OWNED_EFLAGS_BITS (~(X86_EFLAGS_IOPL | X86_EFLAGS_VM))
1555 rflags |= X86_EFLAGS_IOPL | X86_EFLAGS_VM; in vmx_set_rflags()
1559 if ((old_rflags ^ vmx->rflags) & X86_EFLAGS_VM) in vmx_set_rflags()
3106 flags |= X86_EFLAGS_IOPL | X86_EFLAGS_VM; in enter_rmode()
3803 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in __vmx_guest_state_valid()
/openbmc/linux/arch/x86/kvm/svm/
H A Dnested.c1725 (save->rflags & X86_EFLAGS_VM) || in svm_set_nested_state()