Changeset 14149 in vbox for trunk/src/VBox
- Timestamp:
- Nov 12, 2008 11:23:27 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r14148 r14149 1451 1451 1452 1452 /* get physical addresses. */ 1453 pVM->pgm.s.HCPhysShw32BitPD 1453 pVM->pgm.s.HCPhysShw32BitPD = MMPage2Phys(pVM, pVM->pgm.s.pShw32BitPdR3); 1454 1454 Assert(MMPagePhys2Page(pVM, pVM->pgm.s.HCPhysShw32BitPD) == pVM->pgm.s.pShw32BitPdR3); 1455 1455 pVM->pgm.s.aHCPhysPaePDs[0] = MMPage2Phys(pVM, pVM->pgm.s.apShwPaePDsR3[0]); … … 1457 1457 pVM->pgm.s.aHCPhysPaePDs[2] = MMPage2Phys(pVM, pVM->pgm.s.apShwPaePDsR3[2]); 1458 1458 pVM->pgm.s.aHCPhysPaePDs[3] = MMPage2Phys(pVM, pVM->pgm.s.apShwPaePDsR3[3]); 1459 pVM->pgm.s.HCPhys PaePDPT= MMPage2Phys(pVM, pVM->pgm.s.pShwPaePdptR3);1459 pVM->pgm.s.HCPhysShwPaePdpt = MMPage2Phys(pVM, pVM->pgm.s.pShwPaePdptR3); 1460 1460 pVM->pgm.s.HCPhysNestedRoot = MMPage2Phys(pVM, pVM->pgm.s.pShwNestedRootR3); 1461 1461 … … 1514 1514 LogFlow(("pgmR3InitPaging: returns successfully\n")); 1515 1515 #if HC_ARCH_BITS == 64 1516 LogRel(("Debug: HCPhysShw32BitPD=%RHp aHCPhysPaePDs={%RHp,%RHp,%RHp,%RHp} HCPhys PaePDPT=%RHp HCPhysPaePML4=%RHp\n",1516 LogRel(("Debug: HCPhysShw32BitPD=%RHp aHCPhysPaePDs={%RHp,%RHp,%RHp,%RHp} HCPhysShwPaePdpt=%RHp HCPhysPaePML4=%RHp\n", 1517 1517 pVM->pgm.s.HCPhysShw32BitPD, 1518 1518 pVM->pgm.s.aHCPhysPaePDs[0], pVM->pgm.s.aHCPhysPaePDs[1], pVM->pgm.s.aHCPhysPaePDs[2], pVM->pgm.s.aHCPhysPaePDs[3], 1519 pVM->pgm.s.HCPhys PaePDPT,1519 pVM->pgm.s.HCPhysShwPaePdpt, 1520 1520 pVM->pgm.s.HCPhysPaePML4)); 1521 1521 LogRel(("Debug: HCPhysInterPD=%RHp HCPhysInterPaePDPT=%RHp HCPhysInterPaePML4=%RHp\n", … … 1835 1835 GCPtr += PAGE_SIZE; /* reserved page */ 1836 1836 1837 rc = PGMMap(pVM, GCPtr, pVM->pgm.s.HCPhys PaePDPT, PAGE_SIZE, 0);1837 rc = PGMMap(pVM, GCPtr, pVM->pgm.s.HCPhysShwPaePdpt, PAGE_SIZE, 0); 1838 1838 AssertRCReturn(rc, rc); 1839 1839 pVM->pgm.s.pShwPaePdptRC = GCPtr; -
trunk/src/VBox/VMM/PGMInternal.h
r14148 r14149 2073 2073 RTHCPHYS aHCPhysPaePDs[4]; 2074 2074 /** The Physical Address (HC) of the PAE PDPT. */ 2075 RTHCPHYS HCPhys PaePDPT;2075 RTHCPHYS HCPhysShwPaePdpt; 2076 2076 /** The PAE PDPT - R3 Ptr. */ 2077 2077 R3PTRTYPE(PX86PDPT) pShwPaePdptR3; … … 3881 3881 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 3882 3882 PX86PDPT pShwPdpt; 3883 Assert(pPGM->HCPhys PaePDPT != 0 && pPGM->HCPhysPaePDPT!= NIL_RTHCPHYS);3884 int rc = PGM_HCPHYS_2_PTR(PGM2VM(pPGM), pPGM->HCPhys PaePDPT, &pShwPdpt);3883 Assert(pPGM->HCPhysShwPaePdpt != 0 && pPGM->HCPhysShwPaePdpt != NIL_RTHCPHYS); 3884 int rc = PGM_HCPHYS_2_PTR(PGM2VM(pPGM), pPGM->HCPhysShwPaePdpt, &pShwPdpt); 3885 3885 AssertRCReturn(rc, 0); 3886 3886 return pShwPdpt; -
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r14148 r14149 1261 1261 case PGMMODE_PAE: 1262 1262 case PGMMODE_PAE_NX: 1263 return pVM->pgm.s.HCPhys PaePDPT;1263 return pVM->pgm.s.HCPhysShwPaePdpt; 1264 1264 1265 1265 case PGMMODE_AMD64: … … 1294 1294 case PGMMODE_PAE: 1295 1295 case PGMMODE_PAE_NX: 1296 return pVM->pgm.s.HCPhys PaePDPT;1296 return pVM->pgm.s.HCPhysShwPaePdpt; 1297 1297 1298 1298 case PGMMODE_AMD64: … … 1336 1336 VMMDECL(RTHCPHYS) PGMGetHyperPaeCR3(PVM pVM) 1337 1337 { 1338 return pVM->pgm.s.HCPhys PaePDPT;1338 return pVM->pgm.s.HCPhysShwPaePdpt; 1339 1339 } 1340 1340 -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r14148 r14149 150 150 break; 151 151 case PGMPOOL_IDX_PDPT: 152 HCPhys = pVM->pgm.s.HCPhys PaePDPT;152 HCPhys = pVM->pgm.s.HCPhysShwPaePdpt; 153 153 break; 154 154 default: -
trunk/src/VBox/VMM/testcase/tstVMStructGC.cpp
r14148 r14149 428 428 GEN_CHECK_OFF(PGM, pShwPaePdptR0); 429 429 GEN_CHECK_OFF(PGM, pShwPaePdptRC); 430 GEN_CHECK_OFF(PGM, HCPhys PaePDPT);430 GEN_CHECK_OFF(PGM, HCPhysShwPaePdpt); 431 431 GEN_CHECK_OFF(PGM, pShwPaePml4R3); 432 432 #ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
Note:
See TracChangeset
for help on using the changeset viewer.