Changeset 9685 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
- Timestamp:
- Jun 13, 2008 1:36:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r9682 r9685 756 756 757 757 AssertRCReturn(rc, rc); 758 759 /* The PDPT was cached or created; hook it up now. */760 pPml4e->u |= pShwPage->Core.Key761 | (pGstPml4e->u & ~(X86_PML4E_PG_MASK | X86_PML4E_AVL_MASK | X86_PML4E_PCD | X86_PML4E_PWT));762 758 } 763 759 else 764 760 { 765 AssertMsg((pGstPml4e->u & (X86_PML4E_P | X86_PML4E_RW | X86_PML4E_US | X86_PML4E_NX)) == (pPml4e->u & (X86_PML4E_P | X86_PML4E_RW | X86_PML4E_US | X86_PML4E_NX)), ("pGstMpl4e.u=%RX64 pPml4e->u=%RX64\n", pGstPml4e->u, pPml4e->u));766 767 761 pShwPage = pgmPoolGetPage(pPool, pPml4e->u & X86_PML4E_PG_MASK); 768 762 AssertReturn(pShwPage, VERR_INTERNAL_ERROR); 769 763 } 764 /* The PDPT was cached or created; hook it up now. */ 765 pPml4e->u |= pShwPage->Core.Key 766 | (pGstPml4e->u & ~(X86_PML4E_PG_MASK | X86_PML4E_AVL_MASK | X86_PML4E_PCD | X86_PML4E_PWT)); 770 767 771 768 const unsigned iPdPt = (GCPtr >> X86_PDPT_SHIFT) & X86_PDPT_MASK_AMD64; … … 787 784 788 785 AssertRCReturn(rc, rc); 789 790 /* The PD was cached or created; hook it up now. */791 pPdpe->u |= pShwPage->Core.Key792 | (pGstPdpe->u & ~(X86_PDPE_PG_MASK | X86_PDPE_AVL_MASK | X86_PDPE_PCD | X86_PDPE_PWT));793 786 } 794 787 else 795 788 { 796 AssertMsg((pGstPdpe->u & (X86_PDPE_P | X86_PDPE_RW | X86_PDPE_US | X86_PDPE_NX)) == (pPdpe->u & (X86_PDPE_P | X86_PDPE_RW | X86_PDPE_US | X86_PDPE_NX)), ("pGstPdpe.u=%RX64 pPdpe->u=%RX64\n", pGstPdpe->u, pPdpe->u));797 798 789 pShwPage = pgmPoolGetPage(pPool, pPdpe->u & X86_PDPE_PG_MASK); 799 790 AssertReturn(pShwPage, VERR_INTERNAL_ERROR); 800 791 } 792 /* The PD was cached or created; hook it up now. */ 793 pPdpe->u |= pShwPage->Core.Key 794 | (pGstPdpe->u & ~(X86_PDPE_PG_MASK | X86_PDPE_AVL_MASK | X86_PDPE_PCD | X86_PDPE_PWT)); 801 795 802 796 *ppPD = (PX86PDPAE)PGMPOOL_PAGE_2_PTR(pVM, pShwPage);
Note:
See TracChangeset
for help on using the changeset viewer.