Changeset 17061 in vbox
- Timestamp:
- Feb 24, 2009 12:48:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp
r17017 r17061 539 539 VMMDECL(int) PGMMapActivateAll(PVM pVM) 540 540 { 541 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 542 /* 543 * Can skip this if mappings are disabled. 544 */ 545 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s)) 546 #else 547 /* 548 * Can skip this if mappings are safely fixed. 549 */ 550 if (pVM->pgm.s.fMappingsFixed) 551 #endif 552 return VINF_SUCCESS; 553 541 554 /* @note A log flush (in RC) can cause problems when called from MapCR3 (inconsistent state will trigger assertions). */ 542 555 Log4(("PGMMapActivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed)); 543 544 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY545 /*546 * Can skip this if mappings are disabled.547 */548 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))549 #else550 /*551 * Can skip this if mappings are safely fixed.552 */553 if (pVM->pgm.s.fMappingsFixed)554 #endif555 return VINF_SUCCESS;556 556 557 557 #ifdef IN_RING0 … … 584 584 VMMDECL(int) PGMMapDeactivateAll(PVM pVM) 585 585 { 586 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 587 /* 588 * Can skip this if mappings are disabled. 589 */ 590 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s)) 591 #else 592 /* 593 * Can skip this if mappings are safely fixed. 594 */ 595 if (pVM->pgm.s.fMappingsFixed) 596 #endif 597 return VINF_SUCCESS; 598 586 599 Log(("PGMMapDeactivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed)); 587 588 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY589 /*590 * Can skip this if mappings are disabled.591 */592 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))593 #else594 /*595 * Can skip this if mappings are safely fixed.596 */597 if (pVM->pgm.s.fMappingsFixed)598 #endif599 return VINF_SUCCESS;600 600 601 601 #ifdef IN_RING0
Note:
See TracChangeset
for help on using the changeset viewer.