- Timestamp:
- Jun 10, 2010 12:17:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMSwitcher.cpp
r30145 r30148 35 35 #include <iprt/alloc.h> 36 36 #include <iprt/asm.h> 37 #include <iprt/asm-amd64-x86.h> 37 38 #include <iprt/string.h> 38 39 #include <iprt/ctype.h> … … 533 534 { 534 535 uint32_t u32OrMask = MSR_K6_EFER_LME | MSR_K6_EFER_SCE; 535 if ( CPUMGetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_NXE))536 if (!!(ASMCpuId_EDX(0x80000001) & X86_CPUID_AMD_FEATURE_EDX_NX)) 536 537 u32OrMask |= MSR_K6_EFER_NXE; 537 538
Note:
See TracChangeset
for help on using the changeset viewer.