VirtualBox

Changeset 16672 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Feb 11, 2009 3:34:12 PM (16 years ago)
Author:
vboxsync
Message:

VBOX_WITH_PGMPOOL_PAGING_ONLY: updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r16663 r16672  
    760760            case PGMPOOLKIND_64BIT_PD_FOR_64BIT_PD:
    761761            {
    762                 Assert(pPage->enmKind == PGMPOOLKIND_64BIT_PD_FOR_64BIT_PD);
    763 
    764762                uShw.pv = PGMPOOL_PAGE_2_PTR(pPool->CTX_SUFF(pVM), pPage);
    765763                const unsigned iShw = off / sizeof(X86PDEPAE);
     
    42484246    {
    42494247#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
     4248        AssertMsg(   pPage->enmKind == PGMPOOLKIND_64BIT_PML4
     4249                  || pPage->enmKind == PGMPOOLKIND_PAE_PDPT
     4250                  || pPage->enmKind == PGMPOOLKIND_PAE_PDPT_FOR_32BIT
     4251                  || pPage->enmKind == PGMPOOLKIND_32BIT_PD,
     4252                  ("Can't free the shadow CR3! (%RHp vs %RHp kind=%d\n", PGMGetHyperCR3(pPool->CTX_SUFF(pVM)), pPage->Core.Key, pPage->enmKind));
     4253#else
    42504254        AssertMsg(pPage->enmKind == PGMPOOLKIND_64BIT_PML4,
    42514255                  ("Can't free the shadow CR3! (%RHp vs %RHp kind=%d\n", PGMGetHyperCR3(pPool->CTX_SUFF(pVM)), pPage->Core.Key, pPage->enmKind));
     
    45784582
    45794583#ifdef LOG_ENABLED
    4580 static char *pgmPoolPoolKindToStr(uint8_t enmKind)
     4584static const char *pgmPoolPoolKindToStr(uint8_t enmKind)
    45814585{
    45824586    switch(enmKind)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette