Changeset 17483 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
- Timestamp:
- Mar 6, 2009 3:59:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r17438 r17483 973 973 # else /* PGM_SHW_TYPE == PGM_TYPE_AMD64 */ 974 974 /* PML4 */ 975 # ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 975 976 AssertReturn(pVM->pgm.s.pShwRootR3, VERR_INTERNAL_ERROR); 977 # endif 976 978 977 979 const unsigned iPml4 = (GCPtrPage >> X86_PML4_SHIFT) & X86_PML4_MASK; … … 4774 4776 pVM->pgm.s.pShwPageCR3RC = MMHyperCCToRC(pVM, pVM->pgm.s.CTX_SUFF(pShwPageCR3)); 4775 4777 # endif 4776 pVM->pgm.s.pShwRootR3 = (R3PTRTYPE(void *))pVM->pgm.s.CTX_SUFF(pShwPageCR3)->pvPageR3;4777 Assert(pVM->pgm.s.pShwRootR3);4778 # ifndef VBOX_WITH_2X_4GB_ADDR_SPACE4779 pVM->pgm.s.pShwRootR0 = (R0PTRTYPE(void *))PGMPOOL_PAGE_2_PTR(pPool->CTX_SUFF(pVM), pVM->pgm.s.CTX_SUFF(pShwPageCR3));4780 # endif4781 pVM->pgm.s.HCPhysShwCR3 = pVM->pgm.s.CTX_SUFF(pShwPageCR3)->Core.Key;4782 4778 4783 4779 # ifndef PGM_WITHOUT_MAPPINGS … … 4899 4895 # endif 4900 4896 4901 pVM->pgm.s.pShwRootR3 = 0;4902 # ifndef VBOX_WITH_2X_4GB_ADDR_SPACE4903 pVM->pgm.s.pShwRootR0 = 0;4904 # endif4905 pVM->pgm.s.HCPhysShwCR3 = 0;4906 4897 if (pVM->pgm.s.CTX_SUFF(pShwPageCR3)) 4907 4898 { 4908 4899 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); 4900 4901 Assert(pVM->pgm.s.iShwUser != PGMPOOL_IDX_NESTED_ROOT); 4909 4902 4910 4903 /* Mark the page as unlocked; allow flushing again. */
Note:
See TracChangeset
for help on using the changeset viewer.