VirtualBox

Changeset 14880 in vbox for trunk/src


Ignore:
Timestamp:
Dec 1, 2008 5:51:53 PM (16 years ago)
Author:
vboxsync
Message:

PGMR0DynMap: nit picking.

File:
1 edited

Legend:

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

    r14877 r14880  
    857857        PGMR0DYNMAPPGLVL    PgLvl;
    858858        pgmR0DynMapPagingArrayInit(pThis, &PgLvl);
    859         uint32_t const      iEndPage = pThis->cPages + cPages;
    860         for (uint32_t iPage = pThis->cPages;
     859        uint32_t const      iEndPage = pSeg->iPage + cPages;
     860        for (uint32_t iPage = pSeg->iPage;
    861861             iPage < iEndPage;
    862862             iPage++, pbPage += PAGE_SIZE)
     
    911911             * (Note: TLBs will be shot down later on.)
    912912             */
    913             uint32_t iPage = pThis->cPages;
     913            uint32_t iPage = pSeg->iPage;
    914914            while (iPage < iEndPage)
    915915            {
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