VirtualBox

Changeset 7747 in vbox for trunk/src


Ignore:
Timestamp:
Apr 4, 2008 3:23:58 PM (17 years ago)
Author:
vboxsync
Message:

PAE correction

File:
1 edited

Legend:

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

    r7743 r7747  
    26602660        unsigned        iPDSrc;
    26612661#   if PGM_SHW_TYPE == PGM_TYPE_PAE
    2662         PX86PDPAE       pPDPAE    = pVM->pgm.s.CTXMID(ap,PaePDs)[iPDPTE * X86_PG_PAE_ENTRIES];
     2662        PX86PDPAE       pPDPAE    = pVM->pgm.s.CTXMID(ap,PaePDs)[0];
    26632663#   else
    26642664        AssertFailed(); /* @todo */
    26652665        PX86PDPE        pPDPAE    = pVM->pgm.s.CTXMID(ap,PaePDs)[iPDPTE * X86_PG_AMD64_ENTRIES];
    26662666#   endif
    2667         PX86PDEPAE      pPDEDst   = &pPDPAE->a[0];
     2667        PX86PDEPAE      pPDEDst   = &pPDPAE->a[iPDPTE * X86_PG_PAE_ENTRIES];
    26682668        PGSTPD          pPDSrc    = pgmGstGetPaePDPtr(&pVM->pgm.s, iPDPTE << X86_PDPT_SHIFT, &iPDSrc);
    26692669
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