Changeset 14150 in vbox for trunk/src/VBox
- Timestamp:
- Nov 12, 2008 11:24:49 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r14149 r14150 1458 1458 pVM->pgm.s.aHCPhysPaePDs[3] = MMPage2Phys(pVM, pVM->pgm.s.apShwPaePDsR3[3]); 1459 1459 pVM->pgm.s.HCPhysShwPaePdpt = MMPage2Phys(pVM, pVM->pgm.s.pShwPaePdptR3); 1460 pVM->pgm.s.HCPhys NestedRoot = MMPage2Phys(pVM, pVM->pgm.s.pShwNestedRootR3);1460 pVM->pgm.s.HCPhysShwNestedRoot = MMPage2Phys(pVM, pVM->pgm.s.pShwNestedRootR3); 1461 1461 1462 1462 /* -
trunk/src/VBox/VMM/PGMInternal.h
r14149 r14150 2111 2111 #endif 2112 2112 /** The Physical Address (HC) of the nested paging root. */ 2113 RTHCPHYS HCPhys NestedRoot;2113 RTHCPHYS HCPhysShwNestedRoot; 2114 2114 /** @} */ 2115 2115 -
trunk/src/VBox/VMM/PGMShw.h
r13991 r14150 141 141 Assert(HWACCMIsNestedPagingActive(pVM)); 142 142 143 Log(("Enter nested shadow paging mode: root %RHv phys %RHp\n", pVM->pgm.s.pShwNestedRootR3, pVM->pgm.s.HCPhys NestedRoot));143 Log(("Enter nested shadow paging mode: root %RHv phys %RHp\n", pVM->pgm.s.pShwNestedRootR3, pVM->pgm.s.HCPhysShwNestedRoot)); 144 144 /* In non-nested mode we allocate the PML4 page on-demand; in nested mode we just use our fixed nested paging root. */ 145 145 pVM->pgm.s.pShwPaePml4R3 = (R3PTRTYPE(PX86PML4))pVM->pgm.s.pShwNestedRootR3; … … 147 147 pVM->pgm.s.pShwPaePml4R0 = (R0PTRTYPE(PX86PML4))pVM->pgm.s.pShwNestedRootR0; 148 148 # endif 149 pVM->pgm.s.HCPhysPaePML4 = pVM->pgm.s.HCPhys NestedRoot;149 pVM->pgm.s.HCPhysPaePML4 = pVM->pgm.s.HCPhysShwNestedRoot; 150 150 #endif 151 151 return VINF_SUCCESS; -
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r14149 r14150 1066 1066 1067 1067 # ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 1068 rc = PGM_HCPHYS_2_PTR(pVM, pPGM->HCPhys NestedRoot, &pPml4);1068 rc = PGM_HCPHYS_2_PTR(pVM, pPGM->HCPhysShwNestedRoot, &pPml4); 1069 1069 AssertRCReturn(rc, rc); 1070 1070 # else … … 1268 1268 1269 1269 case PGMMODE_EPT: 1270 return pVM->pgm.s.HCPhys NestedRoot;1270 return pVM->pgm.s.HCPhysShwNestedRoot; 1271 1271 1272 1272 case PGMMODE_NESTED: … … 1314 1314 VMMDECL(RTHCPHYS) PGMGetEPTCR3(PVM pVM) 1315 1315 { 1316 return pVM->pgm.s.HCPhys NestedRoot;1316 return pVM->pgm.s.HCPhysShwNestedRoot; 1317 1317 } 1318 1318
Note:
See TracChangeset
for help on using the changeset viewer.