Changeset 9589 in vbox
- Timestamp:
- Jun 11, 2008 8:43:25 AM (17 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r9570 r9589 817 817 pPml4e = &pPGM->pHCPaePML4->a[iPml4e]; 818 818 if (!pPml4e->n.u1Present) 819 return VERR_PAGE_ TABLE_NOT_PRESENT;819 return VERR_PAGE_MAP_LEVEL4_NOT_PRESENT; 820 820 821 821 pShwPage = pgmPoolGetPage(pPool, pPml4e->u & X86_PML4E_PG_MASK); … … 828 828 *ppPdpt = pPdpt; 829 829 if (!pPdpe->n.u1Present) 830 return VERR_PAGE_ TABLE_NOT_PRESENT;830 return VERR_PAGE_DIRECTORY_PTR_NOT_PRESENT; 831 831 832 832 pShwPage = pgmPoolGetPage(pPool, pPdpe->u & X86_PDPE_PG_MASK); -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r9570 r9589 2603 2603 const unsigned iPDDst = ((GCPtrPage >> SHW_PD_SHIFT) & SHW_PD_MASK); 2604 2604 PX86PDPAE pPDDst; 2605 PX86PDPT pPdptDst;2606 2605 X86PDEPAE PdeDst; 2607 2606 2608 int rc = PGMShwGet LongModePDPtr(pVM, GCPtrPage, &pPdptDst, &pPDDst);2607 int rc = PGMShwGetAllocLongModePDPtr(pVM, GCPtrPage, &pPDDst); 2609 2608 if (rc != VINF_SUCCESS) 2610 2609 { 2611 AssertMsg(rc == V ERR_PAGE_TABLE_NOT_PRESENT, ("Unexpected rc=%Vrc\n", rc));2610 AssertMsg(rc == VINF_PGM_SYNC_CR3, ("Unexpected rc=%Vrc\n", rc)); 2612 2611 return rc; 2613 2612 } … … 2944 2943 if (rc != VINF_SUCCESS) 2945 2944 { 2946 AssertMsg(rc == VERR_PAGE_TABLE_NOT_PRESENT, ("Unexpected rc=%Vrc\n", rc)); 2947 return rc; 2945 if (rc == VERR_PAGE_MAP_LEVEL4_NOT_PRESENT) 2946 break; /* next PML4E */ 2947 2948 AssertMsg(rc == VERR_PAGE_DIRECTORY_PTR_NOT_PRESENT, ("Unexpected rc=%Vrc\n", rc)); 2949 continue; /* next PDPTE */ 2948 2950 } 2949 2951 Assert(pPDDst); … … 2965 2967 if (rc != VINF_SUCCESS) 2966 2968 { 2967 AssertMsg(rc == VERR_PAGE_ TABLE_NOT_PRESENT, ("Unexpected rc=%Vrc\n", rc));2968 return rc;2969 AssertMsg(rc == VERR_PAGE_DIRECTORY_PTR_NOT_PRESENT, ("Unexpected rc=%Vrc\n", rc)); 2970 continue; 2969 2971 } 2970 2972
Note:
See TracChangeset
for help on using the changeset viewer.