vbox的更動 4953 路徑 trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
- 時間撮記:
- 2007-9-21 下午02:08:19 (17 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r4789 r4953 1193 1193 * @param pDest HC destination pointer 1194 1194 * @param size Number of bytes to read 1195 * @param dwUserdata Callback specific user data (pCpu)1196 * 1197 */ 1198 DECLCALLBACK(int 32_t) iomReadBytes(RTHCUINTPTR pSrc, uint8_t *pDest, uint32_t size, RTHCUINTPTR dwUserdata)1199 { 1200 DISCPUSTATE *pCpu = (DISCPUSTATE *) dwUserdata;1201 PVM pVM = (PVM)pCpu-> dwUserData[0];1195 * @param pvUserdata Callback specific user data (pCpu) 1196 * 1197 */ 1198 DECLCALLBACK(int) iomReadBytes(RTHCUINTPTR pSrc, uint8_t *pDest, unsigned size, void *pvUserdata) 1199 { 1200 DISCPUSTATE *pCpu = (DISCPUSTATE *)pvUserdata; 1201 PVM pVM = (PVM)pCpu->apvUserData[0]; 1202 1202 1203 1203 int rc = PGMPhysReadGCPtr(pVM, pDest, pSrc, size); … … 1206 1206 } 1207 1207 1208 inline booliomDisCoreOne(PVM pVM, DISCPUSTATE *pCpu, RTGCUINTPTR InstrGC, uint32_t *pOpsize)1208 inline int iomDisCoreOne(PVM pVM, DISCPUSTATE *pCpu, RTGCUINTPTR InstrGC, uint32_t *pOpsize) 1209 1209 { 1210 1210 return VBOX_SUCCESS(DISCoreOneEx(InstrGC, pCpu->mode, iomReadBytes, pVM, pCpu, pOpsize)); 1211 1211 } 1212 1212 #else 1213 inline booliomDisCoreOne(PVM pVM, DISCPUSTATE *pCpu, RTGCUINTPTR InstrGC, uint32_t *pOpsize)1214 { 1215 return DISCoreOne(pCpu, InstrGC, pOpsize);1213 inline int iomDisCoreOne(PVM pVM, DISCPUSTATE *pCpu, RTGCUINTPTR InstrGC, uint32_t *pOpsize) 1214 { 1215 return VBOX_SUCCESS(DISCoreOne(pCpu, InstrGC, pOpsize)); 1216 1216 } 1217 1217
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器