儲存庫 vbox 的更動 18345
- 時間撮記:
- 2009-3-26 下午06:35:57 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r18339 r18345 382 382 bool fFlushTLBs = false; 383 383 int rc = pgmPoolTrackFlushGCPhys(pVM, pPage, &fFlushTLBs); 384 AssertMsgReturn(rc == VINF_SUCCESS || rc == VINF_PGM_SYNC_CR3, ("%Rrc\n", rc), RT_FAILURE(rc) ? rc : VERR_I NTERNAL_ERROR_3);384 AssertMsgReturn(rc == VINF_SUCCESS || rc == VINF_PGM_SYNC_CR3, ("%Rrc\n", rc), RT_FAILURE(rc) ? rc : VERR_IPE_UNEXPECTED_STATUS); 385 385 386 386 /* … … 642 642 if (idChunk == NIL_GMM_CHUNKID) 643 643 { 644 AssertMsgReturn(PGM_PAGE_GET_PAGEID(pPage) == NIL_GMM_PAGEID, ("pPage=%R[pgmpage]\n", pPage), VERR_INTERNAL_ERROR );644 AssertMsgReturn(PGM_PAGE_GET_PAGEID(pPage) == NIL_GMM_PAGEID, ("pPage=%R[pgmpage]\n", pPage), VERR_INTERNAL_ERROR_2); 645 645 if (PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_MMIO2) 646 646 { 647 647 /* Lookup the MMIO2 range and use pvR3 to calc the address. */ 648 648 PPGMRAMRANGE pRam = pgmPhysGetRange(&pVM->pgm.s, GCPhys); 649 AssertMsgReturn(pRam || !pRam->pvR3, ("pRam=%p pPage=%R[pgmpage]\n", pRam, pPage), VERR_INTERNAL_ERROR );649 AssertMsgReturn(pRam || !pRam->pvR3, ("pRam=%p pPage=%R[pgmpage]\n", pRam, pPage), VERR_INTERNAL_ERROR_2); 650 650 *ppv = (void *)((uintptr_t)pRam->pvR3 + (GCPhys - pRam->GCPhys)); 651 651 } … … 656 656 * them, that would also avoid this mess. It would actually be kind of 657 657 * elegant... */ 658 AssertLogRelMsgFailedReturn(("%RGp\n", GCPhys), VERR_INTERNAL_ERROR );658 AssertLogRelMsgFailedReturn(("%RGp\n", GCPhys), VERR_INTERNAL_ERROR_3); 659 659 } 660 660 else 661 661 { 662 662 /** @todo handle MMIO2 */ 663 AssertMsgReturn(PGM_PAGE_IS_ZERO(pPage), ("pPage=%R[pgmpage]\n", pPage), VERR_INTERNAL_ERROR );663 AssertMsgReturn(PGM_PAGE_IS_ZERO(pPage), ("pPage=%R[pgmpage]\n", pPage), VERR_INTERNAL_ERROR_2); 664 664 AssertMsgReturn(PGM_PAGE_GET_HCPHYS(pPage) == pVM->pgm.s.HCPhysZeroPg, 665 ("pPage=%R[pgmpage]\n", pPage),666 VERR_INTERNAL_ERROR);665 ("pPage=%R[pgmpage]\n", pPage), 666 VERR_INTERNAL_ERROR_2); 667 667 *ppv = pVM->pgm.s.CTXALLSUFF(pvZeroPg); 668 668 } … … 3539 3539 default: 3540 3540 AssertMsgFailed(("%Rrc\n", rc)); 3541 AssertReturn(RT_FAILURE(rc), VERR_I NTERNAL_ERROR);3541 AssertReturn(RT_FAILURE(rc), VERR_IPE_UNEXPECTED_INFO_STATUS); 3542 3542 return rc; 3543 3543 } … … 3589 3589 default: 3590 3590 AssertMsgFailed(("%Rrc\n", rc)); 3591 AssertReturn(RT_FAILURE(rc), VERR_I NTERNAL_ERROR);3591 AssertReturn(RT_FAILURE(rc), VERR_IPE_UNEXPECTED_INFO_STATUS); 3592 3592 return rc; 3593 3593 } … … 3606 3606 default: 3607 3607 AssertMsgFailed(("%Rrc\n", rc)); 3608 AssertReturn(RT_FAILURE(rc), VERR_I NTERNAL_ERROR);3608 AssertReturn(RT_FAILURE(rc), VERR_IPE_UNEXPECTED_INFO_STATUS); 3609 3609 return rc; 3610 3610 } … … 3649 3649 default: 3650 3650 AssertMsgFailed(("rc=%Rrc GCPtrSrc=%RGv cb=%#x\n", rc, GCPtrSrc, cb)); 3651 AssertReturn(RT_FAILURE(rc), VERR_I NTERNAL_ERROR);3651 AssertReturn(RT_FAILURE(rc), VERR_IPE_UNEXPECTED_INFO_STATUS); 3652 3652 return rc; 3653 3653 } … … 3732 3732 default: 3733 3733 AssertMsgFailed(("%Rrc\n", rc)); 3734 AssertReturn(RT_FAILURE(rc), VERR_I NTERNAL_ERROR);3734 AssertReturn(RT_FAILURE(rc), VERR_IPE_UNEXPECTED_INFO_STATUS); 3735 3735 return rc; 3736 3736 } … … 3785 3785 default: 3786 3786 AssertMsgFailed(("%Rrc\n", rc)); 3787 AssertReturn(RT_FAILURE(rc), VERR_I NTERNAL_ERROR);3787 AssertReturn(RT_FAILURE(rc), VERR_IPE_UNEXPECTED_INFO_STATUS); 3788 3788 return rc; 3789 3789 } … … 3802 3802 default: 3803 3803 AssertMsgFailed(("%Rrc\n", rc)); 3804 AssertReturn(RT_FAILURE(rc), VERR_I NTERNAL_ERROR);3804 AssertReturn(RT_FAILURE(rc), VERR_IPE_UNEXPECTED_INFO_STATUS); 3805 3805 return rc; 3806 3806 } … … 3851 3851 default: 3852 3852 AssertMsgFailed(("rc=%Rrc GCPtrDst=%RGv cb=%#x\n", rc, GCPtrDst, cb)); 3853 AssertReturn(RT_FAILURE(rc), VERR_I NTERNAL_ERROR);3853 AssertReturn(RT_FAILURE(rc), VERR_IPE_UNEXPECTED_INFO_STATUS); 3854 3854 return rc; 3855 3855 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器