VirtualBox

Changeset 12204 in vbox


Ignore:
Timestamp:
Sep 8, 2008 8:24:31 AM (16 years ago)
Author:
vboxsync
Message:

Moved the fatal assertion.

File:
1 edited

Legend:

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

    r12203 r12204  
    36073607     * Quietly reject any attempts at flushing the currently active shadow CR3 mapping
    36083608     */
    3609     if (    pPage->enmKind == PGMPOOLKIND_64BIT_PML4_FOR_64BIT_PML4
    3610         &&  PGMGetHyperCR3(CTXSUFF(pPool->pVM)) == pPage->Core.Key)
    3611     {
     3609    if (PGMGetHyperCR3(CTXSUFF(pPool->pVM)) == pPage->Core.Key)
     3610    {
     3611        AssertMsg(pPage->enmKind == PGMPOOLKIND_64BIT_PML4_FOR_64BIT_PML4, ("Can't free the shadow CR3! (%VGp vs %VGp kind=%d\n", PGMGetHyperCR3(CTXSUFF(pPool->pVM)), pPage->Core.Key, pPage->enmKind));
    36123612        Log(("pgmPoolFlushPage: current active shadow CR3, rejected. enmKind=%d idx=%d\n", pPage->enmKind, pPage->idx));
    36133613        return VINF_SUCCESS;
    36143614    }
    3615     /* Safety precaution in case we change the paging for other modes too in the future. */
    3616     AssertFatalMsg(PGMGetHyperCR3(CTXSUFF(pPool->pVM)) != pPage->Core.Key, ("Can't free the shadow CR3! (%VGp vs %VGp kind=%d\n", PGMGetHyperCR3(CTXSUFF(pPool->pVM)), pPage->Core.Key, pPage->enmKind));
    36173615
    36183616    /*
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