VirtualBox

Changeset 22747 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Sep 3, 2009 1:20:54 PM (15 years ago)
Author:
vboxsync
Message:

Updates

File:
1 edited

Legend:

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

    r22745 r22747  
    13831383{
    13841384    unsigned cErrors = 0;
     1385    Assert(pPage->iFirstPresent != ~0);
    13851386#ifdef VBOX_STRICT
    13861387    for (unsigned i = 0; i < pPage->iFirstPresent; i++)
    1387     {
    1388         Assert(!pShwPT->a[i].n.u1Present);
    1389     }
     1388        AssertMsg(!pShwPT->a[i].n.u1Present, ("Unexpected PTE: idx=%d %RX64 (first=%d)\n", i, pShwPT->a[i].u,  pPage->iFirstPresent));
    13901389#endif
    13911390    for (unsigned i = pPage->iFirstPresent; i < RT_ELEMENTS(pShwPT->a); i++)
     
    14451444    unsigned cChanged = 0;
    14461445
     1446    Assert(pPage->iFirstPresent != ~0);
    14471447#ifdef VBOX_STRICT
    14481448    for (unsigned i = 0; i < pPage->iFirstPresent; i++)
    1449     {
    1450         Assert(!pShwPT->a[i].n.u1Present);
    1451     }
     1449        AssertMsg(!pShwPT->a[i].n.u1Present, ("Unexpected PTE: idx=%d %RX64 (first=%d)\n", i, pShwPT->a[i].u,  pPage->iFirstPresent));
    14521450#endif
    14531451    for (unsigned i = pPage->iFirstPresent; i < RT_ELEMENTS(pShwPT->a); i++)
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