Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/entry/
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)
1078 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
Dcommon.c233 (regs->flags & (X86_EFLAGS_RF | X86_EFLAGS_TF | X86_EFLAGS_VM)) == 0; in do_fast_syscall_32()
/linux-6.1.9/arch/x86/include/asm/
Dprocessor-flags.h9 #define X86_VM_MASK X86_EFLAGS_VM
/linux-6.1.9/arch/x86/include/uapi/asm/
Dprocessor-flags.h38 #define X86_EFLAGS_VM _BITUL(X86_EFLAGS_VM_BIT) macro
/linux-6.1.9/tools/testing/selftests/x86/
Dentry_from_vm86.c58 if (ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_VM || in sighandler()
/linux-6.1.9/arch/x86/kvm/
Demulate.c827 if (ctxt->eflags & X86_EFLAGS_VM) { in emulator_recalc_and_set_mode()
2018 ctxt->src.val = (unsigned long)ctxt->eflags & ~X86_EFLAGS_VM; in em_pushf()
2130 unsigned long vm86_mask = X86_EFLAGS_VM | X86_EFLAGS_VIF | in emulate_iret_real()
2794 ctxt->eflags &= ~(X86_EFLAGS_VM | X86_EFLAGS_IF); in em_syscall()
2831 ctxt->eflags &= ~(X86_EFLAGS_VM | X86_EFLAGS_IF); in em_sysenter()
3182 if (ctxt->eflags & X86_EFLAGS_VM) { in load_state_from_tss32()
Dx86.c8325 (ctxt->eflags & X86_EFLAGS_VM) ? X86EMUL_MODE_VM86 : in init_emulate_ctxt()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c152 #define RMODE_GUEST_OWNED_EFLAGS_BITS (~(X86_EFLAGS_IOPL | X86_EFLAGS_VM))
1446 rflags |= X86_EFLAGS_IOPL | X86_EFLAGS_VM; in vmx_set_rflags()
1450 if ((old_rflags ^ vmx->rflags) & X86_EFLAGS_VM) in vmx_set_rflags()
2969 flags |= X86_EFLAGS_IOPL | X86_EFLAGS_VM; in enter_rmode()
3655 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in __vmx_guest_state_valid()
/linux-6.1.9/arch/x86/kvm/svm/
Dnested.c1640 (save->rflags & X86_EFLAGS_VM) || in svm_set_nested_state()