Home
last modified time | relevance | path

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

/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)
1050 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
H A Dsyscall_32.c354 if (unlikely(regs->flags & (X86_EFLAGS_RF | X86_EFLAGS_TF | X86_EFLAGS_VM))) in do_fast_syscall_32()
/linux/arch/x86/include/asm/
H A Dprocessor-flags.h9 #define X86_VM_MASK X86_EFLAGS_VM
/linux/arch/x86/include/uapi/asm/
H A Dprocessor-flags.h38 #define X86_EFLAGS_VM _BITUL(X86_EFLAGS_VM_BIT) macro
/linux/tools/testing/selftests/x86/
H A Dentry_from_vm86.c38 if (ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_VM || in sighandler()
/linux/arch/x86/kvm/
H A Demulate.c748 if (ctxt->eflags & X86_EFLAGS_VM) { in emulator_recalc_and_set_mode()
1978 ctxt->src.val = (unsigned long)ctxt->eflags & ~X86_EFLAGS_VM; in em_pushf()
2090 unsigned long vm86_mask = X86_EFLAGS_VM | X86_EFLAGS_VIF | in emulate_iret_real()
2399 ctxt->eflags &= ~(X86_EFLAGS_VM | X86_EFLAGS_IF); in em_syscall()
2436 ctxt->eflags &= ~(X86_EFLAGS_VM | X86_EFLAGS_IF); in em_sysenter()
2794 if (ctxt->eflags & X86_EFLAGS_VM) { in load_state_from_tss32()
H A Dx86.c9004 (ctxt->eflags & X86_EFLAGS_VM) ? X86EMUL_MODE_VM86 : in init_emulate_ctxt()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c164 #define RMODE_GUEST_OWNED_EFLAGS_BITS (~(X86_EFLAGS_IOPL | X86_EFLAGS_VM))
1682 rflags |= X86_EFLAGS_IOPL | X86_EFLAGS_VM; in vmx_set_rflags()
1686 if ((old_rflags ^ vmx->rflags) & X86_EFLAGS_VM) in vmx_set_rflags()
3295 flags |= X86_EFLAGS_IOPL | X86_EFLAGS_VM; in enter_rmode()
4023 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in __vmx_guest_state_valid()
/linux/arch/x86/kvm/svm/
H A Dnested.c1890 (save->rflags & X86_EFLAGS_VM) || in svm_set_nested_state()