VirtualBox

Changeset 9754 in vbox


Ignore:
Timestamp:
Jun 17, 2008 11:05:07 AM (17 years ago)
Author:
vboxsync
Message:

Naming again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r9753 r9754  
    21852185
    21862186# if PGM_GST_TYPE == PGM_GST_PAE || PGM_GST_TYPE == PGM_GST_AMD64
    2187     PPGMPOOLPAGE pShwPde = NULL;
    21882187    /* Fetch the pgm pool shadow descriptor. */
    2189     pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdPte].u & SHW_PDE_PG_MASK);
     2188    PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdPte].u & SHW_PDE_PG_MASK);
    21902189    Assert(pShwPde);
    21912190# endif
     
    30123011    for (uint64_t iPML4E = 0; iPML4E < X86_PG_PAE_ENTRIES; iPML4E++)
    30133012    {
    3014         PPGMPOOLPAGE pShwPml4e = NULL;
     3013        PPGMPOOLPAGE pShwPdpt = NULL;
    30153014
    30163015        /* Fetch the pgm pool shadow descriptor if the shadow pml4e is present. */
    30173016        if (pVM->pgm.s.CTXMID(p,PaePML4)->a[iPML4E].n.u1Present)
    3018             pShwPml4e = pgmPoolGetPage(pPool, pVM->pgm.s.CTXMID(p,PaePML4)->a[iPML4E].u & SHW_PDE_PG_MASK);
     3017            pShwPdpt = pgmPoolGetPage(pPool, pVM->pgm.s.CTXMID(p,PaePML4)->a[iPML4E].u & SHW_PDE_PG_MASK);
    30193018
    30203019        /* Guest PML4E not present (anymore). */
     
    30253024            {
    30263025                /* Shadow PML4 present, so free it. */
    3027                 pgmPoolFreeByPage(pPool, pShwPml4e, PGMPOOL_IDX_PML4, iPML4E);
     3026                pgmPoolFreeByPage(pPool, pShwPdpt, PGMPOOL_IDX_PML4, iPML4E);
    30283027                pVM->pgm.s.CTXMID(p,PaePML4)->a[iPML4E].u = 0;
    30293028            }
     
    30383037        {
    30393038            unsigned        iPDSrc;
    3040             PPGMPOOLPAGE    pShwPdpte = NULL;
     3039            PPGMPOOLPAGE    pShwPde = NULL;
    30413040#   if PGM_GST_TYPE == PGM_TYPE_PAE
    30423041            PX86PDPAE       pPDPAE    = pVM->pgm.s.CTXMID(ap,PaePDs)[0];
     
    30693068            /* Fetch the pgm pool shadow descriptor if the shadow pdpte is present. */
    30703069            if (pPdptDst->a[iPDPTE].n.u1Present)
    3071                 pShwPdpte = pgmPoolGetPage(pPool, pPdptDst->a[iPDPTE].u & SHW_PDE_PG_MASK);
     3070                pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPDPTE].u & SHW_PDE_PG_MASK);
    30723071            else
    30733072                Assert(pPDSrc == NULL);
     
    30843083                        {
    30853084#   if PGM_GST_TYPE == PGM_TYPE_AMD64
    3086                             Assert(pShwPml4e);
    3087                             pgmPoolFreeByPage(pPool, pShwPdpte, pShwPml4e->idx, iPDPTE);
     3085                            Assert(pShwPde);
     3086                            pgmPoolFreeByPage(pPool, pShwPde, pShwPde->idx, iPDPTE);
    30883087#   else
    30893088                            AssertFailed(); /* can't happen; the 4 pdpt pages are fixed! */
     
    32423241                            {
    32433242#  if PGM_GST_TYPE == PGM_TYPE_PAE || PGM_GST_TYPE == PGM_TYPE_AMD64
    3244                                 pgmPoolFreeByPage(pPool, pShwPage, pShwPdpte->idx, iPdShw);
     3243                                pgmPoolFreeByPage(pPool, pShwPage, pShwPde->idx, iPdShw);
    32453244#  else
    32463245                                pgmPoolFreeByPage(pPool, pShwPage, SHW_POOL_ROOT_IDX, iPdShw);
     
    32733272                        {
    32743273#  if PGM_GST_TYPE == PGM_TYPE_PAE || PGM_GST_TYPE == PGM_TYPE_AMD64
    3275                             pgmPoolFreeByPage(pPool, pgmPoolGetPage(pPool, pPDEDst->u & SHW_PDE_PG_MASK), pShwPdpte->idx, iPdShw);
     3274                            pgmPoolFreeByPage(pPool, pgmPoolGetPage(pPool, pPDEDst->u & SHW_PDE_PG_MASK), pShwPde->idx, iPdShw);
    32763275#  else
    32773276                            pgmPoolFreeByPage(pPool, pgmPoolGetPage(pPool, pPDEDst->u & SHW_PDE_PG_MASK), SHW_POOL_ROOT_IDX, iPdShw);
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