Changeset 9752 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
- Timestamp:
- Jun 17, 2008 10:14:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r9690 r9752 779 779 780 780 Assert(!(pPdpe->u & X86_PDPE_PG_MASK)); 781 rc = pgmPoolAlloc(pVM, pPdptGst->a[iPdPt].u & X86_PDPE_PG_MASK, PGMPOOLKIND_64BIT_PD_FOR_64BIT_PD, PGMPOOL_IDX_PDPT, iPml4e * X86_PG_PAE_ENTRIES + iPdPt, &pShwPage); 781 /* Create a reference back to the PML4E by using the index in its shadow page. */ 782 rc = pgmPoolAlloc(pVM, pPdptGst->a[iPdPt].u & X86_PDPE_PG_MASK, PGMPOOLKIND_64BIT_PD_FOR_64BIT_PD, pShwPage->idx, iPdPt, &pShwPage); 782 783 if (rc == VERR_PGM_POOL_FLUSHED) 783 784 return VINF_PGM_SYNC_CR3; … … 825 826 826 827 const unsigned iPdPt = (GCPtr >> X86_PDPT_SHIFT) & X86_PDPT_MASK_AMD64; 827 PX86PDPT pPdpt = (PX86PDPT)PGMPOOL_PAGE_2_PTR(pVM, pShwPage); 828 PX86PDPT pPdpt = (PX86PDPT)PGMPOOL_PAGE_2_PTR(pVM, pShwPage); 828 829 PX86PDPE pPdpe = &pPdpt->a[iPdPt]; 829 830
Note:
See TracChangeset
for help on using the changeset viewer.