Changeset 17303 in vbox
- Timestamp:
- Mar 3, 2009 4:53:01 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
include/VBox/hwaccm.h (modified) (2 diffs)
-
src/VBox/VMM/HWACCM.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/hwaccm.h
r17295 r17303 34 34 #include <VBox/types.h> 35 35 #include <VBox/pgm.h> 36 #include <VBox/cpum.h> 36 37 #include <iprt/mp.h> 37 38 … … 65 66 */ 66 67 #define HWACCMIsEnabled(pVM) ((pVM)->fHWACCMEnabled) 68 69 /** 70 * Check if the current CPU state is valid for emulating IO blocks in the recompiler 71 * 72 * @returns boolean 73 * @param pCtx CPU context 74 */ 75 #define HWACCMCanEmulateIoBlock(pCtx) (!CPUMIsGuestInPagedProtectedModeEx(pCtx)) 67 76 68 77 VMMDECL(int) HWACCMInvalidatePage(PVM pVM, RTGCPTR GCVirt); -
trunk/src/VBox/VMM/HWACCM.cpp
r17296 r17303 1204 1204 1205 1205 /* This is primarily intended to speed up Grub, so we don't care about paged protected mode. */ 1206 if ( !CPUMIsGuestInPagedProtectedModeEx(pCtx))1206 if (HWACCMCanEmulateIoBlock(pCtx)) 1207 1207 { 1208 1208 Log(("HWACCMR3EmulateIoBlock -> enabled\n"));
Note:
See TracChangeset
for help on using the changeset viewer.

