- Timestamp:
- Sep 11, 2008 3:28:42 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pgm.h
r11300 r12407 261 261 PGMMODE_32BIT_HACK = 0x7fffffff 262 262 } PGMMODE; 263 264 /** Macro for checking if the guest is using paging. 265 * @param uType PGMMODE_* 266 * @remark ASSUMES certain order of the PGMMODE_* values. 267 */ 268 #define PGMMODE_WITH_PAGING(enmMode) (enmMode >= PGMMODE_32_BIT) 263 269 264 270 /** -
trunk/src/VBox/VMM/PGM.cpp
r12405 r12407 3244 3244 * switch shadow paging mode (e.g. protected->32-bit) and shouldn't reuse 3245 3245 * the shadow page tables. 3246 * 3247 * That only applies when switching between paging and non-paging modes. 3248 * 3249 * @todo A20 setting 3246 3250 */ 3247 3251 if ( pVM->pgm.s.CTXSUFF(pPool) 3248 && pVM->pgm.s.enmGuestMode != enmGuestMode)3252 && PGMMODE_WITH_PAGING(pVM->pgm.s.enmGuestMode) != PGMMODE_WITH_PAGING(enmGuestMode)) 3249 3253 { 3250 3254 Log(("PGMR3ChangeMode: changing guest paging mode -> flush pgm pool cache!\n"));
Note:
See TracChangeset
for help on using the changeset viewer.