VirtualBox

Ignore:
Timestamp:
Oct 22, 2021 7:27:23 AM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:10092 EPT CR3 bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r91964 r91997  
    59435943            /* See Intel spec. 27.2.2 "EPT Translation Mechanism" footnote. */
    59445944            uint64_t const fInvPhysMask = !CPUMIsGuestVmxEptPagingEnabledEx(IEM_GET_CTX(pVCpu))
    5945                                         ? ~(RT_BIT_64(IEM_GET_GUEST_CPU_FEATURES(pVCpu)->cMaxPhysAddrWidth) - 1U)
    5946                                         : (~X86_CR3_EPT_PAGE_MASK | X86_PAGE_4K_OFFSET_MASK);
     5945                                        ? (UINT64_MAX << IEM_GET_GUEST_CPU_FEATURES(pVCpu)->cMaxPhysAddrWidth)
     5946                                        : (~X86_CR3_EPT_PAGE_MASK & X86_PAGE_4K_BASE_MASK);
    59475947#else
    59485948            uint64_t const fInvPhysMask = UINT64_C(0xfff0000000000000);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette