Changeset 7996 in vbox
- Timestamp:
- Apr 15, 2008 2:15:58 PM (17 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/EM.cpp
r7803 r7996 2416 2416 #ifdef VBOX_STRICT 2417 2417 Assert(REMR3QueryPendingInterrupt(pVM) == REM_NO_PENDING_IRQ); 2418 Assert(!(pCtx->cr4 & X86_CR4_PAE));2419 2418 Assert(pCtx->eflags.Bits.u1VM || (pCtx->ss & X86_SEL_RPL) == 3 || (pCtx->ss & X86_SEL_RPL) == 0); 2420 2419 AssertMsg( (pCtx->eflags.u32 & X86_EFL_IF) … … 2778 2777 if (pCtx->cr4 & X86_CR4_PAE) 2779 2778 { 2780 //Log2(("raw mode refused: PAE\n")); 2781 return EMSTATE_REM; 2779 uint32_t u32Dummy, u32Features; 2780 2781 CPUMGetGuestCpuId(pVM, 1, &u32Dummy, &u32Dummy, &u32Dummy, &u32Features); 2782 if (!(u32Features & X86_CPUID_FEATURE_EDX_PAE)) 2783 return EMSTATE_REM; 2782 2784 } 2783 2785 -
trunk/src/VBox/VMM/PGM.cpp
r7993 r7996 2912 2912 case PGMMODE_PAE: 2913 2913 { 2914 uint32_t u32Dummy, u32 ExtFeatures;2915 2916 CPUMGetGuestCpuId(pVM, 1, &u32Dummy, &u32Dummy, &u32Dummy, &u32 ExtFeatures);2917 if (!(u32 ExtFeatures & X86_CPUID_FEATURE_EDX_PAE))2914 uint32_t u32Dummy, u32Features; 2915 2916 CPUMGetGuestCpuId(pVM, 1, &u32Dummy, &u32Dummy, &u32Dummy, &u32Features); 2917 if (!(u32Features & X86_CPUID_FEATURE_EDX_PAE)) 2918 2918 { 2919 2919 /* Pause first, then inform Main. */ -
trunk/src/recompiler/VBoxRecompiler.c
r7695 r7996 1204 1204 if (env->cr[4] & CR4_PAE_MASK) 1205 1205 { 1206 STAM_COUNTER_INC(&gStatRefusePAE); 1207 //Log2(("raw mode refused: PAE\n")); 1208 return false; 1206 if (!(env->cpuid_features & X86_CPUID_FEATURE_EDX_PAE)) 1207 { 1208 STAM_COUNTER_INC(&gStatRefusePAE); 1209 return false; 1210 } 1209 1211 } 1210 1212
Note:
See TracChangeset
for help on using the changeset viewer.