- Timestamp:
- Feb 18, 2009 3:44:47 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r16907 r16916 2246 2246 STAM_PROFILE_STOP(&pVM->pgm.s.CTX_MID_Z(Stat,SyncCR3), a); 2247 2247 return cErrors; 2248 return 0;2249 2248 } 2250 2249 -
trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp
r16898 r16916 219 219 void pgmMapSetShadowPDEs(PVM pVM, PPGMMAPPING pMap, unsigned iNewPDE) 220 220 { 221 Log(("pgmMapSetShadowPDEs new pde %x (mappings enabled %d)\n", iNewPDE, pgmMapAreMappingsEnabled(&pVM->pgm.s))); 222 221 223 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s)) 222 224 return; … … 349 351 void pgmMapClearShadowPDEs(PVM pVM, PPGMPOOLPAGE pShwPageCR3, PPGMMAPPING pMap, unsigned iOldPDE) 350 352 { 351 Assert(pShwPageCR3);353 Log(("pgmMapClearShadowPDEs old pde %x (mappings enabled %d)\n", iOldPDE, pgmMapAreMappingsEnabled(&pVM->pgm.s))); 352 354 353 355 if (!pgmMapAreMappingsEnabled(&pVM->pgm.s)) … … 355 357 356 358 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 357 if (!pVM->pgm.s.CTX_SUFF(pShwPageCR3)) 358 return; /* too early */ 359 Assert(pShwPageCR3); 359 360 #endif 360 361 … … 426 427 VMMDECL(int) PGMMapActivateAll(PVM pVM) 427 428 { 429 Log(("PGMMapActivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed)); 430 428 431 /* 429 432 * Can skip this if mappings are safely fixed. … … 461 464 VMMDECL(int) PGMMapDeactivateAll(PVM pVM) 462 465 { 466 Log(("PGMMapDeactivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed)); 467 463 468 /* 464 469 * Can skip this if mappings are safely fixed. … … 604 609 } 605 610 611 # ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 606 612 /** 607 613 * Checks and resolves (ring 3 only) guest conflicts with VMM GC mappings. … … 712 718 return VINF_SUCCESS; 713 719 } 720 # endif /* VBOX_WITH_PGMPOOL_PAGING_ONLY */ 721 714 722 #endif /* IN_RING0 */ 715 723 -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r16907 r16916 488 488 uShw.pv = PGMPOOL_PAGE_2_PTR(pPool->CTX_SUFF(pVM), pPage); 489 489 const unsigned iShw = off / sizeof(X86PTE); // ASSUMING 32-bit guest paging! 490 491 # ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 492 LogFlow(("pgmPoolMonitorChainChanging: PGMPOOLKIND_32BIT_PD %x\n", iShw)); 493 # endif 490 494 if (uShw.pPD->a[iShw].u & PGM_PDFLAGS_MAPPING) 491 495 {
Note:
See TracChangeset
for help on using the changeset viewer.