Changeset 17012 in vbox
- Timestamp:
- Feb 23, 2009 12:31:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp
r17007 r17012 509 509 510 510 /* 511 * Can skip this if mappings are safely fixed.512 */ 513 if ( pVM->pgm.s.fMappingsFixed)511 * Can skip this if mappings are disabled. 512 */ 513 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s)) 514 514 return; 515 515 … … 545 545 Log(("PGMMapActivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed)); 546 546 547 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 548 /* 549 * Can skip this if mappings are disabled. 550 */ 551 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s)) 552 #else 547 553 /* 548 554 * Can skip this if mappings are safely fixed. 549 555 */ 550 556 if (pVM->pgm.s.fMappingsFixed) 557 #endif 551 558 return VINF_SUCCESS; 552 559 … … 582 589 Log(("PGMMapDeactivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed)); 583 590 591 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 592 /* 593 * Can skip this if mappings are disabled. 594 */ 595 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s)) 596 #else 584 597 /* 585 598 * Can skip this if mappings are safely fixed. 586 599 */ 587 600 if (pVM->pgm.s.fMappingsFixed) 601 #endif 588 602 return VINF_SUCCESS; 589 603 … … 619 633 int pgmMapDeactivateCR3(PVM pVM, PPGMPOOLPAGE pShwPageCR3) 620 634 { 635 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 636 /* 637 * Can skip this if mappings are disabled. 638 */ 639 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s)) 640 #else 621 641 /* 622 642 * Can skip this if mappings are safely fixed. 623 643 */ 624 644 if (pVM->pgm.s.fMappingsFixed) 645 #endif 625 646 return VINF_SUCCESS; 626 647
Note:
See TracChangeset
for help on using the changeset viewer.