vbox的更動 9212 路徑 trunk/src/VBox/VMM/VMMAll/EMAll.cpp
- 時間撮記:
- 2008-5-29 上午09:38:38 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r9083 r9212 55 55 typedef DECLCALLBACK(uint32_t) PFN_EMULATE_PARAM2(uint32_t *pu32Param1, size_t val2); 56 56 typedef DECLCALLBACK(uint32_t) PFN_EMULATE_PARAM3(uint32_t *pu32Param1, uint32_t val2, size_t val3); 57 typedef DECLCALLBACK(int) FNEMULATELOCKPARAM2(RTGCPTR GCPtrParam1, RTGCUINTREG Val2, uint32_t*pf);57 typedef DECLCALLBACK(int) FNEMULATELOCKPARAM2(RTGCPTR GCPtrParam1, RTGCUINTREG Val2, RTGCUINTREG32 *pf); 58 58 typedef FNEMULATELOCKPARAM2 *PFNEMULATELOCKPARAM2; 59 typedef DECLCALLBACK(int) FNEMULATELOCKPARAM3(RTGCPTR GCPtrParam1, RTGCUINTREG Val2, size_t cb, uint32_t*pf);59 typedef DECLCALLBACK(int) FNEMULATELOCKPARAM3(RTGCPTR GCPtrParam1, RTGCUINTREG Val2, size_t cb, RTGCUINTREG32 *pf); 60 60 typedef FNEMULATELOCKPARAM3 *PFNEMULATELOCKPARAM3; 61 61 … … 291 291 { 292 292 #ifdef IN_GC 293 int rc = MMGCRamRead(pVM, pDest, GCSrc, cb);293 int rc = MMGCRamRead(pVM, pDest, (void *)GCSrc, cb); 294 294 if (RT_LIKELY(rc != VERR_ACCESS_DENIED)) 295 295 return rc; … … 312 312 { 313 313 #ifdef IN_GC 314 int rc = MMGCRamWrite(pVM, GCDest, pSrc, cb);314 int rc = MMGCRamWrite(pVM, (void *)GCDest, pSrc, cb); 315 315 if (RT_LIKELY(rc != VERR_ACCESS_DENIED)) 316 316 return rc; … … 816 816 Log2(("%s %RGv imm%d=%RGr\n", emGetMnemonic(pCpu), GCPtrPar1, pCpu->param2.size*8, ValPar2)); 817 817 818 RTGCUINTREG eflags = 0;818 RTGCUINTREG32 eflags = 0; 819 819 MMGCRamRegisterTrapHandler(pVM); 820 820 rc = pfnEmulate(GCPtrPar1, ValPar2, pCpu->param2.size, &eflags); … … 1090 1090 1091 1091 /* Try emulate it with a one-shot #PF handler in place. */ 1092 RTGCUINTREG eflags = 0;1092 RTGCUINTREG32 eflags = 0; 1093 1093 MMGCRamRegisterTrapHandler(pVM); 1094 1094 rc = pfnEmulate(GCPtrPar1, ValPar2, &eflags);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器