VirtualBox

Changeset 47652 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Aug 9, 2013 2:56:17 PM (11 years ago)
Author:
vboxsync
Message:

VMM: Removed all VBOX_WITH_OLD_[VTX|AMDV]_CODE bits.

File:
1 edited

Legend:

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

    r47328 r47652  
    24242424VMMDECL(bool) CPUMIsGuestInPAEMode(PVMCPU pVCpu)
    24252425{
    2426 #ifdef VBOX_WITH_OLD_VTX_CODE
    2427     return (pVCpu->cpum.s.Guest.cr4 & X86_CR4_PAE)
    2428         && (pVCpu->cpum.s.Guest.cr0 & (X86_CR0_PE | X86_CR0_PG)) == (X86_CR0_PE | X86_CR0_PG)
    2429         && !(pVCpu->cpum.s.Guest.msrEFER & MSR_K6_EFER_LMA);
    2430 #else
    24312426    return (pVCpu->cpum.s.Guest.cr4 & X86_CR4_PAE)
    24322427        && (pVCpu->cpum.s.Guest.cr0 & X86_CR0_PG)
    24332428        && !(pVCpu->cpum.s.Guest.msrEFER & MSR_K6_EFER_LME);
    2434 #endif
    24352429}
    24362430
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