Changeset 47652 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Aug 9, 2013 2:56:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r47328 r47652 2424 2424 VMMDECL(bool) CPUMIsGuestInPAEMode(PVMCPU pVCpu) 2425 2425 { 2426 #ifdef VBOX_WITH_OLD_VTX_CODE2427 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 #else2431 2426 return (pVCpu->cpum.s.Guest.cr4 & X86_CR4_PAE) 2432 2427 && (pVCpu->cpum.s.Guest.cr0 & X86_CR0_PG) 2433 2428 && !(pVCpu->cpum.s.Guest.msrEFER & MSR_K6_EFER_LME); 2434 #endif2435 2429 } 2436 2430
Note:
See TracChangeset
for help on using the changeset viewer.