VirtualBox

Ignore:
Timestamp:
Oct 8, 2008 7:42:06 AM (16 years ago)
Author:
vboxsync
Message:

#1865: More PGM changes.

File:
1 edited

Legend:

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

    r13046 r13060  
    486486            }
    487487# elif PGM_GST_TYPE == PGM_TYPE_AMD64
    488             PPGMPOOL pPool = pVM->pgm.s.CTXSUFF(pPool);
     488            PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
    489489
    490490            pVM->pgm.s.pGstPaePML4HC = (R3R0PTRTYPE(PX86PML4))HCPtrGuestCR3;
     
    564564        if (pVM->pgm.s.pHCShwAmd64CR3)
    565565        {
    566             PPGMPOOL pPool = pVM->pgm.s.CTXSUFF(pPool);
     566            PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
    567567            pgmPoolFreeByPage(pPool, pVM->pgm.s.pHCShwAmd64CR3, PGMPOOL_IDX_AMD64_CR3, pVM->pgm.s.pHCShwAmd64CR3->GCPhys >> PAGE_SHIFT);
    568568            pVM->pgm.s.pHCShwAmd64CR3 = NULL;
     
    614614                                              pVM->pgm.s.pszR3GstWriteHandlerCR3);
    615615# else  /* PGMPOOL_WITH_MIXED_PT_CR3 */
    616         rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTXSUFF(pPool),
     616        rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTX_SUFF(pPool),
    617617                                         pVM->pgm.s.enmShadowMode == PGMMODE_PAE
    618618                                      || pVM->pgm.s.enmShadowMode == PGMMODE_PAE_NX
     
    640640    if (pVM->pgm.s.GCPhysGstCR3Monitored != GCPhysCR3)
    641641    {
    642         rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTXSUFF(pPool), PGMPOOL_IDX_PDPT, GCPhysCR3);
     642        rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PDPT, GCPhysCR3);
    643643        if (VBOX_FAILURE(rc))
    644644        {
     
    661661                Assert(pVM->pgm.s.enmShadowMode == PGMMODE_PAE || pVM->pgm.s.enmShadowMode == PGMMODE_PAE_NX);
    662662
    663                 rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTXSUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i, GCPhys);
     663                rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i, GCPhys);
    664664            }
    665665
     
    674674        else if (pVM->pgm.s.aGCPhysGstPaePDsMonitored[i] != NIL_RTGCPHYS)
    675675        {
    676             rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTXSUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i);
     676            rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i);
    677677            AssertRC(rc);
    678678            pVM->pgm.s.aGCPhysGstPaePDsMonitored[i] = NIL_RTGCPHYS;
     
    710710        AssertRCReturn(rc, rc);
    711711# else /* PGMPOOL_WITH_MIXED_PT_CR3 */
    712         rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTXSUFF(pPool),
     712        rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX_SUFF(pPool),
    713713                                           pVM->pgm.s.enmShadowMode == PGMMODE_PAE
    714714                                        || pVM->pgm.s.enmShadowMode == PGMMODE_PAE_NX
     
    728728    if (pVM->pgm.s.GCPhysGstCR3Monitored != NIL_RTGCPHYS)
    729729    {
    730         rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTXSUFF(pPool), PGMPOOL_IDX_PDPT);
     730        rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PDPT);
    731731        AssertRC(rc);
    732732    }
     
    738738        {
    739739            Assert(pVM->pgm.s.enmShadowMode == PGMMODE_PAE || pVM->pgm.s.enmShadowMode == PGMMODE_PAE_NX);
    740             int rc2 = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTXSUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i);
     740            int rc2 = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i);
    741741            AssertRC(rc2);
    742742            if (VBOX_FAILURE(rc2))
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