Changeset 49849 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Dec 9, 2013 4:51:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r49549 r49849 2798 2798 VMMDECL(bool) CPUMIsGuestInPAEMode(PVMCPU pVCpu) 2799 2799 { 2800 /* Intel mentions EFER.LMA and EFER.LME in different parts of their spec. We shall use EFER.LMA rather 2801 than EFER.LME as it reflects if the CPU has entered paging with EFER.LME set. */ 2800 2802 return (pVCpu->cpum.s.Guest.cr4 & X86_CR4_PAE) 2801 2803 && (pVCpu->cpum.s.Guest.cr0 & X86_CR0_PG) 2802 && !(pVCpu->cpum.s.Guest.msrEFER & MSR_K6_EFER_LM E);2804 && !(pVCpu->cpum.s.Guest.msrEFER & MSR_K6_EFER_LMA); 2803 2805 } 2804 2806
Note:
See TracChangeset
for help on using the changeset viewer.