VirtualBox

Changeset 41674 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jun 12, 2012 8:16:31 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78481
Message:

DISCoreOne* -> DISCore*.

Location:
trunk/src/VBox/VMM
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r41668 r41674  
    364364        State.GCPtr = NIL_RTGCPTR;
    365365    }
    366     return DISCoreOneWithReader(InstrGC, pDis->mode, emReadBytes, &State, pDis, pOpsize);
     366    return DISInstrWithReader(InstrGC, pDis->mode, emReadBytes, &State, pDis, pOpsize);
    367367}
    368368
     
    377377    State.GCPtr = InstrGC;
    378378
    379     return DISCoreOneWithReader(InstrGC, pDis->mode, emReadBytes, &State, pDis, pOpsize);
     379    return DISInstrWithReader(InstrGC, pDis->mode, emReadBytes, &State, pDis, pOpsize);
    380380}
    381381
     
    460460
    461461    DISCPUMODE enmCpuMode = SELMGetCpuModeFromSelector(pVCpu, pCtxCore->eflags, pCtxCore->cs, (PCPUMSELREGHID)&pCtxCore->csHid);
    462     rc = DISCoreOneWithReader(GCPtrInstr, enmCpuMode, emReadBytes, &State, pDis, pcbInstr);
     462    rc = DISInstrWithReader(GCPtrInstr, enmCpuMode, emReadBytes, &State, pDis, pcbInstr);
    463463    if (RT_SUCCESS(rc))
    464464        return VINF_SUCCESS;
  • trunk/src/VBox/VMM/VMMR3/CPUM.cpp

    r41671 r41674  
    36763676    uint32_t cbInstr;
    36773677#ifndef LOG_ENABLED
    3678     rc = DISCoreOneWithReader(GCPtrPC, enmDisCpuMode, cpumR3DisasInstrRead, &State, pCpu, &cbInstr);
     3678    rc = DISInstrWithReader(GCPtrPC, enmDisCpuMode, cpumR3DisasInstrRead, &State, pCpu, &cbInstr);
    36793679    if (RT_SUCCESS(rc))
    36803680    {
  • trunk/src/VBox/VMM/VMMR3/CSAM.cpp

    r41673 r41674  
    765765{
    766766    (pCpu)->apvUserData[1] = InstrHC;
    767     (pCpu)->apvUserData[2] = (void *)(uintptr_t)InstrGC; Assert(sizeof(InstrGC) <= sizeof(pCpu->apvUserData[0]));
    768767#ifdef DEBUG
    769768    return DISInstrToStrEx(InstrGC, enmCpuMode, CSAMR3ReadBytes, pVM, OPTYPE_ALL,
     
    774773        return DISInstrToStrEx(InstrGC, enmCpuMode, CSAMR3ReadBytes, pVM, ~(OPTYPE_INVALID | OPTYPE_HARMLESS | OPTYPE_RRM_MASK),
    775774                               pCpu, pcbInstr, pszOutput, cbOutput);
    776     return DISCoreOneExEx(InstrGC, enmCpuMode, ~(OPTYPE_INVALID | OPTYPE_HARMLESS | OPTYPE_RRM_MASK), CSAMR3ReadBytes, pVM,
    777                           pCpu, pcbInstr);
     775    return DISInstEx(InstrGC, enmCpuMode, ~(OPTYPE_INVALID | OPTYPE_HARMLESS | OPTYPE_RRM_MASK), CSAMR3ReadBytes, pVM,
     776                     pCpu, pcbInstr);
    778777#endif
    779778}
  • trunk/src/VBox/VMM/VMMR3/DBGFDisas.cpp

    r41668 r41674  
    140140
    141141    uint32_t cbInstr;
    142     int rc = DISCoreOneWithReader(GCPtr,
    143                                   enmCpuMode,
    144                                   dbgfR3DisasInstrRead,
    145                                   &pState->Cpu,
    146                                   &pState->Cpu,
    147                                   &cbInstr);
     142    int rc = DISInstrWithReader(GCPtr,
     143                                enmCpuMode,
     144                                dbgfR3DisasInstrRead,
     145                                &pState->Cpu,
     146                                &pState->Cpu,
     147                                &cbInstr);
    148148    if (RT_SUCCESS(rc))
    149149    {
  • trunk/src/VBox/VMM/VMMR3/PATM.cpp

    r41671 r41674  
    603603    disinfo.pInstrGC    = InstrGCPtr32;
    604604    disinfo.fReadFlags  = fReadFlags;
    605     (pCpu)->pfnReadBytes = patmReadBytes;
    606     (pCpu)->apvUserData[0] = &disinfo;
    607605    return RT_SUCCESS(DISInstrToStrWithReader(InstrGCPtr32,
    608606                                              (pPatch->flags & PATMFL_CODE32) ? CPUMODE_32BIT : CPUMODE_16BIT,
     
    621619    disinfo.pInstrGC    = InstrGCPtr32;
    622620    disinfo.fReadFlags  = fReadFlags;
    623     (pCpu)->pfnReadBytes = patmReadBytes;
    624     (pCpu)->apvUserData[0] = &disinfo;
    625     return RT_SUCCESS(DISCoreOneWithReader(InstrGCPtr32,
    626                                            (pPatch->flags & PATMFL_CODE32) ? CPUMODE_32BIT : CPUMODE_16BIT,
    627                                            patmReadBytes, &disinfo,
    628                                            pCpu, pcbInstr));
     621    return RT_SUCCESS(DISInstrWithReader(InstrGCPtr32,
     622                                         (pPatch->flags & PATMFL_CODE32) ? CPUMODE_32BIT : CPUMODE_16BIT,
     623                                         patmReadBytes, &disinfo,
     624                                         pCpu, pcbInstr));
    629625}
    630626
     
    640636    disinfo.pInstrGC    = InstrGCPtr32;
    641637    disinfo.fReadFlags  = fReadFlags;
    642     (pCpu)->pfnReadBytes = patmReadBytes;
    643     (pCpu)->apvUserData[0] = &disinfo;
    644     return RT_SUCCESS(DISCoreOneWithReader(InstrGCPtr32, pPatch->uOpMode, patmReadBytes, &disinfo,
    645                                            pCpu, pcbInstr));
     638    return RT_SUCCESS(DISInstrWithReader(InstrGCPtr32, pPatch->uOpMode, patmReadBytes, &disinfo,
     639                                         pCpu, pcbInstr));
    646640}
    647641
  • trunk/src/VBox/VMM/VMMR3/VMMSwitcher.cpp

    r41671 r41674  
    835835                DISCPUSTATE Cpu;
    836836                char        szDisas[256];
    837                 int rc = DISCoreOne((uintptr_t)pu8CodeR3 + offCode, CPUMODE_32BIT, &Cpu, &cbInstr);
     837                int rc = DISInstr(pu8CodeR3 + offCode, CPUMODE_32BIT, &Cpu, &cbInstr);
    838838                if (RT_SUCCESS(rc))
    839839                {
  • trunk/src/VBox/VMM/VMMRC/PATMRC.cpp

    r41668 r41674  
    523523            rc = VBOXSTRICTRC_TODO(rcStrict);
    524524#else
    525             rc = DISCoreOne((uintptr_t)&pRec->patch.aPrivInstr[0], cpu.mode, &cpu, &cbOp);
     525            rc = DISInstr(&pRec->patch.aPrivInstr[0], cpu.mode, &cpu, &cbOp);
    526526            if (RT_FAILURE(rc))
    527527            {
Note: See TracChangeset for help on using the changeset viewer.

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