VirtualBox

忽略:
時間撮記:
2007-9-21 下午02:08:19 (17 年 以前)
作者:
vboxsync
訊息:

Cleaned up disassembler

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp

    r4789 r4953  
    11931193 * @param   pDest       HC destination pointer
    11941194 * @param   size        Number of bytes to read
    1195  * @param   dwUserdata  Callback specific user data (pCpu)
    1196  *
    1197  */
    1198 DECLCALLBACK(int32_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 */
     1198DECLCALLBACK(int) iomReadBytes(RTHCUINTPTR pSrc, uint8_t *pDest, unsigned size, void *pvUserdata)
     1199{
     1200    DISCPUSTATE  *pCpu     = (DISCPUSTATE *)pvUserdata;
     1201    PVM           pVM      = (PVM)pCpu->apvUserData[0];
    12021202
    12031203    int rc = PGMPhysReadGCPtr(pVM, pDest, pSrc, size);
     
    12061206}
    12071207
    1208 inline bool iomDisCoreOne(PVM pVM, DISCPUSTATE *pCpu, RTGCUINTPTR InstrGC, uint32_t *pOpsize)
     1208inline int iomDisCoreOne(PVM pVM, DISCPUSTATE *pCpu, RTGCUINTPTR InstrGC, uint32_t *pOpsize)
    12091209{
    12101210    return VBOX_SUCCESS(DISCoreOneEx(InstrGC, pCpu->mode, iomReadBytes, pVM, pCpu, pOpsize));
    12111211}
    12121212#else
    1213 inline bool iomDisCoreOne(PVM pVM, DISCPUSTATE *pCpu, RTGCUINTPTR InstrGC, uint32_t *pOpsize)
    1214 {
    1215     return DISCoreOne(pCpu, InstrGC, pOpsize);
     1213inline int iomDisCoreOne(PVM pVM, DISCPUSTATE *pCpu, RTGCUINTPTR InstrGC, uint32_t *pOpsize)
     1214{
     1215    return VBOX_SUCCESS(DISCoreOne(pCpu, InstrGC, pOpsize));
    12161216}
    12171217
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette