Changeset 25837 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jan 14, 2010 4:50:45 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56617
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r25553 r25837 1295 1295 # ifdef HWACCM_VMX_EMULATE_REALMODE 1296 1296 /* Intercept all exceptions in real mode as none of them can be injected directly (#GP otherwise). */ 1297 if ( CPUMIsGuestInRealModeEx(pCtx) 1297 if ( CPUMIsGuestInRealModeEx(pCtx) 1298 1298 && pVM->hwaccm.s.vmx.pRealModeTSS) 1299 1299 u32TrapMask |= HWACCM_VMX_TRAP_MASK_REALMODE; … … 2356 2356 Log(("Invalid VMX_VMCS_CTRL_EXIT_CONTROLS: one\n")); 2357 2357 } 2358 fWasInLongMode = CPUMIsGuestInLongMode (pVCpu);2358 fWasInLongMode = CPUMIsGuestInLongModeEx(pCtx); 2359 2359 #endif 2360 2360 … … 2375 2375 Assert(!HWACCMR0SuspendPending()); 2376 2376 /* Not allowed to switch modes without reloading the host state (32->64 switcher)!! */ 2377 Assert(fWasInLongMode == CPUMIsGuestInLongMode (pVCpu));2377 Assert(fWasInLongMode == CPUMIsGuestInLongModeEx(pCtx)); 2378 2378 2379 2379 /* Safety precaution; looping for too long here can have a very bad effect on the host */
Note:
See TracChangeset
for help on using the changeset viewer.