VirtualBox

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


Ignore:
Timestamp:
Mar 5, 2009 3:32:19 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43820
Message:

Used wrong index to free PDs

File:
1 edited

Legend:

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

    r17271 r17413  
    314314                    {
    315315                        Assert(!(pShwPaePd->a[iPDE].u & PGM_PDFLAGS_MAPPING));
    316                         pgmPoolFree(pVM, pShwPaePd->a[iPDE].u & X86_PDE_PG_MASK, pPoolPagePd->idx, iNewPDE);
     316                        pgmPoolFree(pVM, pShwPaePd->a[iPDE].u & X86_PDE_PG_MASK, pPoolPagePd->idx, iPDE);
    317317                    }
    318318                }
     
    348348                    &&  !(pShwPaePd->a[iPDE].u & PGM_PDFLAGS_MAPPING))
    349349                {
     350                    pgmPoolFree(pVM, pShwPaePd->a[iPDE].u & X86_PDE_PG_MASK, pPoolPagePd->idx, iPDE);
     351                }
    350352#else
    351353                if (pShwPaePd->a[iPDE].n.u1Present)
    352354                {
    353355                    Assert(!(pShwPaePd->a[iPDE].u & PGM_PDFLAGS_MAPPING));
    354 #endif
    355356                    pgmPoolFree(pVM, pShwPaePd->a[iPDE].u & X86_PDE_PG_MASK, pPoolPagePd->idx, iNewPDE);
    356357                }
     358#endif
    357359                X86PDEPAE PdePae1;
    358360                PdePae1.u = PGM_PDFLAGS_MAPPING | X86_PDE_P | X86_PDE_A | X86_PDE_RW | X86_PDE_US | pMap->aPTs[i].HCPhysPaePT1;
Note: See TracChangeset for help on using the changeset viewer.

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