- Timestamp:
- Feb 10, 2009 3:50:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r16635 r16641 581 581 LogFlow(("pgmPoolMonitorChainChanging: Detected conflict at iShw=%#x!\n", iShw)); 582 582 } 583 #if def PGMPOOL_INVALIDATE_UPPER_SHADOW_TABLE_ENTRIES583 #if defined(PGMPOOL_INVALIDATE_UPPER_SHADOW_TABLE_ENTRIES) || defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) 584 584 /* 585 585 * Causes trouble when the guest uses a PDE to refer to the whole page table level … … 594 594 pgmPoolFree(pPool->CTX_SUFF(pVM), 595 595 uShw.pPDPae->a[iShw].u & X86_PDE_PAE_PG_MASK, 596 # ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 597 pPage->idx, 598 iShw); 599 # else 596 600 /* Note: hardcoded PAE implementation dependency */ 597 601 (pPage->enmKind == PGMPOOLKIND_PAE_PD_FOR_PAE_PD) ? PGMPOOL_IDX_PAE_PD : pPage->idx, 598 602 (pPage->enmKind == PGMPOOLKIND_PAE_PD_FOR_PAE_PD) ? iShw + (pPage->idx - PGMPOOL_IDX_PAE_PD_0) * X86_PG_PAE_ENTRIES : iShw); 603 # endif 599 604 uShw.pPDPae->a[iShw].u = 0; 600 605 } … … 617 622 LogFlow(("pgmPoolMonitorChainChanging: Detected conflict at iShw2=%#x!\n", iShw2)); 618 623 } 619 #if def PGMPOOL_INVALIDATE_UPPER_SHADOW_TABLE_ENTRIES624 #if defined(PGMPOOL_INVALIDATE_UPPER_SHADOW_TABLE_ENTRIES) || defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) 620 625 else if (uShw.pPDPae->a[iShw2].n.u1Present) 621 626 { … … 623 628 pgmPoolFree(pPool->CTX_SUFF(pVM), 624 629 uShw.pPDPae->a[iShw2].u & X86_PDE_PAE_PG_MASK, 630 # ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 631 pPage->idx, 632 iShw2); 633 # else 625 634 /* Note: hardcoded PAE implementation dependency */ 626 635 (pPage->enmKind == PGMPOOLKIND_PAE_PD_FOR_PAE_PD) ? PGMPOOL_IDX_PAE_PD : pPage->idx, 627 636 (pPage->enmKind == PGMPOOLKIND_PAE_PD_FOR_PAE_PD) ? iShw2 + (pPage->idx - PGMPOOL_IDX_PAE_PD_0) * X86_PG_PAE_ENTRIES : iShw2); 637 # endif 628 638 uShw.pPDPae->a[iShw2].u = 0; 629 639 } … … 2944 2954 */ 2945 2955 PPGMPOOLPAGE pUserPage = &pPool->aPages[pUser->iUser]; 2946 #if def VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R02956 #if defined(VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0) && !defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) 2947 2957 if (pUserPage->enmKind == PGMPOOLKIND_ROOT_PAE_PD) 2948 2958 {
Note:
See TracChangeset
for help on using the changeset viewer.