Changeset 13996 in vbox for trunk/src/VBox/VMM/PGMInternal.h
- Timestamp:
- Nov 10, 2008 11:57:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r13993 r13996 2095 2095 /** The Physical Address (HC) of the Page Map Level 4 table. */ 2096 2096 RTHCPHYS HCPhysPaePML4; 2097 /** The pgm pool page descriptor for the current active CR3. */ 2098 #if 0///@todo def VBOX_WITH_2X_4GB_ADDR_SPACE 2099 R3PTRTYPE(PPGMPOOLPAGE) pHCShwAmd64CR3; 2100 #else 2101 R3R0PTRTYPE(PPGMPOOLPAGE) pHCShwAmd64CR3; 2102 #endif 2097 /** The pgm pool page descriptor for the current active CR3 - R3 Ptr. */ 2098 R3PTRTYPE(PPGMPOOLPAGE) pShwAmd64CR3R3; 2099 /** The pgm pool page descriptor for the current active CR3 - R0 Ptr. */ 2100 R0PTRTYPE(PPGMPOOLPAGE) pShwAmd64CR3R0; 2103 2101 /** @}*/ 2104 2102 … … 3800 3798 PX86PML4 pShwPml4; 3801 3799 Assert(pPGM->HCPhysPaePML4 != 0 && pPGM->HCPhysPaePML4 != NIL_RTHCPHYS); 3802 int rc = PGM_HCPHYS_2_PTR( pVM, pPGM->HCPhysPaePML4, &pShwPml4);3800 int rc = PGM_HCPHYS_2_PTR(PGM2VM(pPGM), pPGM->HCPhysPaePML4, &pShwPml4); 3803 3801 AssertRCReturn(rc, 0); 3804 3802 return pShwPml4; … … 3823 3821 PCX86PML4 pShwPml4; 3824 3822 Assert(pPGM->HCPhysPaePML4 != 0 && pPGM->HCPhysPaePML4 != NIL_RTHCPHYS); 3825 int rc = PGM_HCPHYS_2_PTR( pVM, pPGM->HCPhysPaePML4, &pShwPml4);3823 int rc = PGM_HCPHYS_2_PTR(PGM2VM(pPGM), pPGM->HCPhysPaePML4, &pShwPml4); 3826 3824 AssertRCReturn(rc, 0); 3827 3825 return pShwPml4->a[iPml4].u; … … 3845 3843 PX86PML4 pShwPml4; 3846 3844 Assert(pPGM->HCPhysPaePML4 != 0 && pPGM->HCPhysPaePML4 != NIL_RTHCPHYS); 3847 int rc = PGM_HCPHYS_2_PTR( pVM, pPGM->HCPhysPaePML4, &pShwPml4);3845 int rc = PGM_HCPHYS_2_PTR(PGM2VM(pPGM), pPGM->HCPhysPaePML4, &pShwPml4); 3848 3846 AssertRCReturn(rc, 0); 3849 3847 return &pShwPml4->a[iPml4];
Note:
See TracChangeset
for help on using the changeset viewer.