vbox的更動 61371 路徑 trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
- 時間撮記:
- 2016-6-1 下午12:58:24 (9 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r60874 r61371 754 754 STAM_COUNTER_INC(&pVM->iom.s.StatR3MMIOHandler); 755 755 756 AssertMsg(cbBuf >= 1 && cbBuf <= 16, ("%zu\n", cbBuf));756 NOREF(pvPhys); NOREF(enmOrigin); 757 757 AssertPtr(pRange); 758 NOREF(pvPhys); NOREF(enmOrigin); 758 AssertMsg(cbBuf >= 1, ("%zu\n", cbBuf)); 759 760 761 #ifndef IN_RING3 762 /* 763 * If someone is doing FXSAVE, FXRSTOR, XSAVE, XRSTOR or other stuff dealing with 764 * large amounts of data, just go to ring-3 where we don't need to deal with partial 765 * successes. No chance any of these will be problematic read-modify-write stuff. 766 */ 767 if (cbBuf > sizeof(pVCpu->iom.s.PendingMmioWrite.abValue)) 768 return enmAccessType == PGMACCESSTYPE_WRITE ? VINF_IOM_R3_MMIO_WRITE : VINF_IOM_R3_MMIO_READ; 769 #endif 759 770 760 771 /*
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器