VirtualBox

Changeset 9756 in vbox for trunk/src/VBox


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

Wrong masks

File:
1 edited

Legend:

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

    r9754 r9756  
    21862186# if PGM_GST_TYPE == PGM_GST_PAE || PGM_GST_TYPE == PGM_GST_AMD64
    21872187    /* Fetch the pgm pool shadow descriptor. */
    2188     PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdPte].u & SHW_PDE_PG_MASK);
     2188    PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdPte].u & X86_PDPE_PG_MASK);
    21892189    Assert(pShwPde);
    21902190# endif
     
    30153015        /* Fetch the pgm pool shadow descriptor if the shadow pml4e is present. */
    30163016        if (pVM->pgm.s.CTXMID(p,PaePML4)->a[iPML4E].n.u1Present)
    3017             pShwPdpt = 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 & X86_PML4E_PG_MASK);
    30183018
    30193019        /* Guest PML4E not present (anymore). */
     
    30683068            /* Fetch the pgm pool shadow descriptor if the shadow pdpte is present. */
    30693069            if (pPdptDst->a[iPDPTE].n.u1Present)
    3070                 pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPDPTE].u & SHW_PDE_PG_MASK);
     3070                pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPDPTE].u & X86_PDPE_PG_MASK);
    30713071            else
    30723072                Assert(pPDSrc == NULL);
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