vbox的更動 39402 路徑 trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
- 時間撮記:
- 2011-11-23 下午04:25:04 (13 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r39294 r39402 116 116 } 117 117 } 118 else if (RT_UNLIKELY(rc == VERR_ INTERNAL_ERROR))118 else if (RT_UNLIKELY(rc == VERR_EM_INTERNAL_DISAS_ERROR)) 119 119 return rc; 120 120 break; … … 135 135 AssertMsgFailedReturn(("enmProt=%d iPage=%d GCPhysFault=%RGp\n", 136 136 pRom->aPages[iPage].enmProt, iPage, GCPhysFault), 137 VERR_I NTERNAL_ERROR);137 VERR_IPE_NOT_REACHED_DEFAULT_CASE); 138 138 } 139 139 … … 513 513 && pVM->pgm.s.cHandyPages <= RT_ELEMENTS(pVM->pgm.s.aHandyPages), 514 514 ("%u\n", pVM->pgm.s.cHandyPages), 515 VERR_ INTERNAL_ERROR);515 VERR_PGM_HANDY_PAGE_IPE); 516 516 } 517 517 else … … 1029 1029 if (idChunk == NIL_GMM_CHUNKID) 1030 1030 { 1031 AssertMsgReturn(PGM_PAGE_GET_PAGEID(pPage) == NIL_GMM_PAGEID, ("pPage=%R[pgmpage]\n", pPage), VERR_ INTERNAL_ERROR_2);1031 AssertMsgReturn(PGM_PAGE_GET_PAGEID(pPage) == NIL_GMM_PAGEID, ("pPage=%R[pgmpage]\n", pPage), VERR_PGM_PHYS_PAGE_MAP_IPE_1); 1032 1032 if (PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_MMIO2) 1033 1033 { 1034 1034 /* Lookup the MMIO2 range and use pvR3 to calc the address. */ 1035 1035 PPGMRAMRANGE pRam = pgmPhysGetRange(pVM, GCPhys); 1036 AssertMsgReturn(pRam || !pRam->pvR3, ("pRam=%p pPage=%R[pgmpage]\n", pRam, pPage), VERR_ INTERNAL_ERROR_2);1036 AssertMsgReturn(pRam || !pRam->pvR3, ("pRam=%p pPage=%R[pgmpage]\n", pRam, pPage), VERR_PGM_PHYS_PAGE_MAP_IPE_2); 1037 1037 *ppv = (void *)((uintptr_t)pRam->pvR3 + (uintptr_t)((GCPhys & ~(RTGCPHYS)PAGE_OFFSET_MASK) - pRam->GCPhys)); 1038 1038 } … … 1043 1043 * them, that would also avoid this mess. It would actually be kind of 1044 1044 * elegant... */ 1045 AssertLogRelMsgFailedReturn(("%RGp\n", GCPhys), VERR_ INTERNAL_ERROR_3);1045 AssertLogRelMsgFailedReturn(("%RGp\n", GCPhys), VERR_PGM_MAP_MMIO2_ALIAS_MMIO); 1046 1046 } 1047 1047 else 1048 1048 { 1049 1049 /** @todo handle MMIO2 */ 1050 AssertMsgReturn(PGM_PAGE_IS_ZERO(pPage), ("pPage=%R[pgmpage]\n", pPage), VERR_ INTERNAL_ERROR_2);1050 AssertMsgReturn(PGM_PAGE_IS_ZERO(pPage), ("pPage=%R[pgmpage]\n", pPage), VERR_PGM_PHYS_PAGE_MAP_IPE_3); 1051 1051 AssertMsgReturn(PGM_PAGE_GET_HCPHYS(pPage) == pVM->pgm.s.HCPhysZeroPg, 1052 1052 ("pPage=%R[pgmpage]\n", pPage), 1053 VERR_ INTERNAL_ERROR_2);1053 VERR_PGM_PHYS_PAGE_MAP_IPE_4); 1054 1054 *ppv = pVM->pgm.s.CTXALLSUFF(pvZeroPg); 1055 1055 } … … 1306 1306 { 1307 1307 int rc; 1308 AssertReturn(pPage, VERR_ INTERNAL_ERROR);1308 AssertReturn(pPage, VERR_PGM_PHYS_NULL_PAGE_PARAM); 1309 1309 PGM_LOCK_ASSERT_OWNER(pVM); 1310 1310 pVM->pgm.s.cDeprecatedPageLocks++; … … 1436 1436 { 1437 1437 int rc; 1438 AssertReturn(pPage, VERR_ INTERNAL_ERROR);1438 AssertReturn(pPage, VERR_PGM_PHYS_NULL_PAGE_PARAM); 1439 1439 PGM_LOCK_ASSERT_OWNER(pVM); 1440 1440 … … 1499 1499 int pgmPhysGCPhys2CCPtrInternalReadOnly(PVM pVM, PPGMPAGE pPage, RTGCPHYS GCPhys, const void **ppv, PPGMPAGEMAPLOCK pLock) 1500 1500 { 1501 AssertReturn(pPage, VERR_ INTERNAL_ERROR);1501 AssertReturn(pPage, VERR_PGM_PHYS_NULL_PAGE_PARAM); 1502 1502 PGM_LOCK_ASSERT_OWNER(pVM); 1503 1503 Assert(PGM_PAGE_GET_HCPHYS(pPage) != 0);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器