VirtualBox

Changeset 14095 in vbox


Ignore:
Timestamp:
Nov 11, 2008 4:51:58 PM (16 years ago)
Author:
vboxsync
Message:

#1865: shadow pae, the third bit.

File:
1 edited

Legend:

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

    r14094 r14095  
    37323732        }
    37333733
    3734 # if PGM_GST_TYPE == PGM_TYPE_PAE
    3735         /* not correct to call pgmPoolGetPage */
    3736         AssertFailed();
    3737 # endif
    37383734        pShwPdpt = pgmPoolGetPage(pPool, pPml4eDst->u & X86_PML4E_PG_MASK);
    37393735        GCPhysPdptSrc = pPml4eSrc->u & X86_PML4E_PG_MASK_FULL;
     
    37643760            continue;
    37653761        }
    3766 # else
    3767     {
    3768 # endif
     3762# else  /* PGM_GST_TYPE != PGM_TYPE_AMD64 */
     3763    {
     3764# endif /* PGM_GST_TYPE != PGM_TYPE_AMD64 */
    37693765
    37703766# if PGM_GST_TYPE == PGM_TYPE_AMD64 || PGM_GST_TYPE == PGM_TYPE_PAE
     
    37833779            X86PDPE         PdpeSrc;
    37843780            PGSTPD          pPDSrc    = pgmGstGetPaePDPtr(&pVM->pgm.s, GCPtr, &iPDSrc, &PdpeSrc);
    3785             PX86PDPAE       pPDDst    = pVM->pgm.s.CTXMID(ap,PaePDs)[0];
    37863781            PX86PDPT        pPdptDst  = pgmShwGetPaePDPTPtr(&pVM->pgm.s);
    37873782#   else
     
    38533848#  if PGM_SHW_TYPE == PGM_TYPE_32BIT
    38543849            PCX86PD         pPDDst = pPGM->CTXMID(p,32BitPD);
    3855 #  else
    3856             PCX86PDPAE      pPDDst = pVM->pgm.s.CTXMID(ap,PaePDs)[0]; /* We treat this as a PD with 2048 entries, so no need to and with SHW_PD_MASK to get iPDDst */
    38573850#  endif
    38583851# endif
     
    38673860                iPDDst++, GCPtr += cIncrement)
    38683861            {
     3862#  if PGM_SHW_TYPE == PGM_TYPE_PAE
     3863                const SHWPDE PdeDst = *pgmShwGetPaePDEPtr(pPGM, GCPtr);
     3864#  else
    38693865                const SHWPDE PdeDst = pPDDst->a[iPDDst];
     3866#  endif
    38703867                if (PdeDst.u & PGM_PDFLAGS_MAPPING)
    38713868                {
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