Changeset 16865 in vbox
- Timestamp:
- Feb 17, 2009 4:52:24 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r16859 r16865 1157 1157 pVM->pgm.s.enmHostMode = SUPPAGINGMODE_INVALID; 1158 1158 pVM->pgm.s.GCPhysCR3 = NIL_RTGCPHYS; 1159 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 1159 1160 pVM->pgm.s.GCPhysGstCR3Monitored = NIL_RTGCPHYS; 1161 #endif 1160 1162 pVM->pgm.s.fA20Enabled = true; 1161 1163 pVM->pgm.s.GCPhys4MBPSEMask = RT_BIT_64(32) - 1; /* default; checked later */ -
trunk/src/VBox/VMM/PGMInternal.h
r16840 r16865 57 57 * Enable to use the PGM pool for all levels in the paging chain in all paging modes. 58 58 */ 59 //#define VBOX_WITH_PGMPOOL_PAGING_ONLY59 #define VBOX_WITH_PGMPOOL_PAGING_ONLY 60 60 61 61 /** … … 2175 2175 uint32_t u32Alignment; 2176 2176 #endif 2177 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 2177 2178 /** The physical address of the currently monitored guest CR3 page. 2178 2179 * When this value is NIL_RTGCPHYS no page is being monitored. */ 2179 2180 RTGCPHYS GCPhysGstCR3Monitored; 2180 2181 #endif 2181 2182 /** @name 32-bit Guest Paging. 2182 2183 * @{ */ -
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r16733 r16865 722 722 pVM->pgm.s.fSyncFlags &= ~PGM_SYNC_MONITOR_CR3; 723 723 Assert(!pVM->pgm.s.fMappingsFixed); 724 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 724 725 Assert(pVM->pgm.s.GCPhysCR3 == pVM->pgm.s.GCPhysGstCR3Monitored); 725 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY726 726 rc = PGM_GST_PFN(MonitorCR3, pVM)(pVM, pVM->pgm.s.GCPhysCR3); 727 727 #endif … … 1851 1851 pVM->pgm.s.fSyncFlags &= ~PGM_SYNC_MONITOR_CR3; 1852 1852 Assert(!pVM->pgm.s.fMappingsFixed); 1853 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 1853 1854 Assert(pVM->pgm.s.GCPhysCR3 == pVM->pgm.s.GCPhysGstCR3Monitored); 1854 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY1855 1855 rc = PGM_GST_PFN(MonitorCR3, pVM)(pVM, pVM->pgm.s.GCPhysCR3); 1856 1856 #endif -
trunk/src/VBox/VMM/testcase/tstVMStructGC.cpp
r16317 r16865 413 413 GEN_CHECK_OFF(PGM, GCPhysCR3); 414 414 GEN_CHECK_OFF(PGM, GCPtrCR3Mapping); 415 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 415 416 GEN_CHECK_OFF(PGM, GCPhysGstCR3Monitored); 417 #endif 416 418 GEN_CHECK_OFF(PGM, pGst32BitPdR3); 417 419 #ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
Note:
See TracChangeset
for help on using the changeset viewer.