VirtualBox

Changeset 30341 in vbox for trunk/src


Ignore:
Timestamp:
Jun 21, 2010 4:06:53 PM (15 years ago)
Author:
vboxsync
Message:

Use PGM_PAGE_GET_STATE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PGMR0SharedPage.cpp

    r30284 r30341  
    9595                Assert(!pPage || !PGM_PAGE_IS_BALLOONED(pPage));
    9696                if (    pPage
    97                     &&  pPage->uStateY == PGM_PAGE_STATE_ALLOCATED)
     97                    &&  PGM_PAGE_GET_STATE(pPage) == PGM_PAGE_STATE_ALLOCATED)
    9898                {
    9999                    fValidChanges = true;
     
    134134                        goto end;
    135135                    }
    136                     Assert(pPage->uStateY == PGM_PAGE_STATE_ALLOCATED);
     136                    Assert(PGM_PAGE_GET_STATE(pPage) == PGM_PAGE_STATE_ALLOCATED);
    137137
    138138                    Log(("PGMR0SharedModuleCheck: shared page gc virt=%RGv phys %RGp host %RHp->%RHp\n", pRegions[idxRegion].GCRegionAddr + i * PAGE_SIZE, paPageDesc[i].GCPhys, PGM_PAGE_GET_HCPHYS(pPage), paPageDesc[i].HCPhys));
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