Changeset 13060 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
- Timestamp:
- Oct 8, 2008 7:42:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r13046 r13060 486 486 } 487 487 # elif PGM_GST_TYPE == PGM_TYPE_AMD64 488 PPGMPOOL pPool = pVM->pgm.s.CTX SUFF(pPool);488 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); 489 489 490 490 pVM->pgm.s.pGstPaePML4HC = (R3R0PTRTYPE(PX86PML4))HCPtrGuestCR3; … … 564 564 if (pVM->pgm.s.pHCShwAmd64CR3) 565 565 { 566 PPGMPOOL pPool = pVM->pgm.s.CTX SUFF(pPool);566 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); 567 567 pgmPoolFreeByPage(pPool, pVM->pgm.s.pHCShwAmd64CR3, PGMPOOL_IDX_AMD64_CR3, pVM->pgm.s.pHCShwAmd64CR3->GCPhys >> PAGE_SHIFT); 568 568 pVM->pgm.s.pHCShwAmd64CR3 = NULL; … … 614 614 pVM->pgm.s.pszR3GstWriteHandlerCR3); 615 615 # else /* PGMPOOL_WITH_MIXED_PT_CR3 */ 616 rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTX SUFF(pPool),616 rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), 617 617 pVM->pgm.s.enmShadowMode == PGMMODE_PAE 618 618 || pVM->pgm.s.enmShadowMode == PGMMODE_PAE_NX … … 640 640 if (pVM->pgm.s.GCPhysGstCR3Monitored != GCPhysCR3) 641 641 { 642 rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTX SUFF(pPool), PGMPOOL_IDX_PDPT, GCPhysCR3);642 rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PDPT, GCPhysCR3); 643 643 if (VBOX_FAILURE(rc)) 644 644 { … … 661 661 Assert(pVM->pgm.s.enmShadowMode == PGMMODE_PAE || pVM->pgm.s.enmShadowMode == PGMMODE_PAE_NX); 662 662 663 rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTX SUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i, GCPhys);663 rc = pgmPoolMonitorMonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i, GCPhys); 664 664 } 665 665 … … 674 674 else if (pVM->pgm.s.aGCPhysGstPaePDsMonitored[i] != NIL_RTGCPHYS) 675 675 { 676 rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX SUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i);676 rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i); 677 677 AssertRC(rc); 678 678 pVM->pgm.s.aGCPhysGstPaePDsMonitored[i] = NIL_RTGCPHYS; … … 710 710 AssertRCReturn(rc, rc); 711 711 # else /* PGMPOOL_WITH_MIXED_PT_CR3 */ 712 rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX SUFF(pPool),712 rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), 713 713 pVM->pgm.s.enmShadowMode == PGMMODE_PAE 714 714 || pVM->pgm.s.enmShadowMode == PGMMODE_PAE_NX … … 728 728 if (pVM->pgm.s.GCPhysGstCR3Monitored != NIL_RTGCPHYS) 729 729 { 730 rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX SUFF(pPool), PGMPOOL_IDX_PDPT);730 rc = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PDPT); 731 731 AssertRC(rc); 732 732 } … … 738 738 { 739 739 Assert(pVM->pgm.s.enmShadowMode == PGMMODE_PAE || pVM->pgm.s.enmShadowMode == PGMMODE_PAE_NX); 740 int rc2 = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX SUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i);740 int rc2 = pgmPoolMonitorUnmonitorCR3(pVM->pgm.s.CTX_SUFF(pPool), PGMPOOL_IDX_PAE_PD_0 + i); 741 741 AssertRC(rc2); 742 742 if (VBOX_FAILURE(rc2))
Note:
See TracChangeset
for help on using the changeset viewer.