VirtualBox

Changeset 19293 in vbox for trunk/include/VBox


Ignore:
Timestamp:
May 1, 2009 4:11:18 PM (16 years ago)
Author:
vboxsync
Message:

DBGF,VMM: SMP refactoring of the DBGF disassembler code. Changed VMMGetCpu and VMMGetCpuId to return NULL and NIL if the caller isn't an EMT. Renamed VMMGetCpuEx to VMMGetCpuById.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/dbgf.h

    r19291 r19293  
    771771#define DBGF_SEL_FLAT                       1
    772772
    773 VMMR3DECL(int) DBGFR3DisasInstrEx(PVM pVM, PVMCPU pVCpu, RTSEL Sel, RTGCPTR GCPtr, unsigned fFlags, char *pszOutput, uint32_t cchOutput, uint32_t *pcbInstr);
    774 VMMR3DECL(int) DBGFR3DisasInstr(PVM pVM, PVMCPU pVCpu, RTSEL Sel, RTGCPTR GCPtr, char *pszOutput, uint32_t cbOutput);
     773VMMR3DECL(int) DBGFR3DisasInstrEx(PVM pVM, VMCPUID idCpu, RTSEL Sel, RTGCPTR GCPtr, unsigned fFlags, char *pszOutput, uint32_t cchOutput, uint32_t *pcbInstr);
    775774VMMR3DECL(int) DBGFR3DisasInstrCurrent(PVM pVM, char *pszOutput, uint32_t cbOutput);
    776775VMMR3DECL(int) DBGFR3DisasInstrCurrentLogInternal(PVM pVM, const char *pszPrefix);
     
    791790#endif
    792791
    793 VMMR3DECL(int) DBGFR3DisasInstrLogInternal(PVM pVM, PVMCPU pVCpu, RTSEL Sel, RTGCPTR GCPtr);
     792VMMR3DECL(int) DBGFR3DisasInstrLogInternal(PVM pVM, RTSEL Sel, RTGCPTR GCPtr);
    794793
    795794/** @def DBGFR3DisasInstrLog
    796795 * Disassembles the specified guest context instruction and writes it to the log.
    797796 * Addresses will be attempted resolved to symbols.
     797 * @thread Any EMT.
    798798 */
    799799#ifdef LOG_ENABLED
  • trunk/include/VBox/pdmdev.h

    r19043 r19293  
    26942694
    26952695    /**
    2696      * Get CPUID.
     2696     * Get the specified CPUID leaf for the virtual CPU associated with the calling
     2697     * thread.
    26972698     *
    26982699     * @param   pDevIns             Device instance.
     
    27022703     * @param   pEcx                Where to store the ECX value.
    27032704     * @param   pEdx                Where to store the EDX value.
     2705     * @thread  EMT.
    27042706     */
    27052707    DECLR3CALLBACKMEMBER(void, pfnGetCpuId,(PPDMDEVINS pDevIns, uint32_t iLeaf, uint32_t *pEax, uint32_t *pEbx, uint32_t *pEcx, uint32_t *pEdx));
  • trunk/include/VBox/vmm.h

    r19257 r19293  
    114114VMMDECL(PVMCPU)      VMMGetCpu(PVM pVM);
    115115VMMDECL(PVMCPU)      VMMGetCpu0(PVM pVM);
    116 VMMDECL(PVMCPU)      VMMGetCpuEx(PVM pVM, RTCPUID idCpu);
     116VMMDECL(PVMCPU)      VMMGetCpuById(PVM pVM, RTCPUID idCpu);
    117117VMMDECL(uint32_t)    VMMGetSvnRev(void);
    118118VMMDECL(VMMSWITCHER) VMMGetSwitcher(PVM pVM);
Note: See TracChangeset for help on using the changeset viewer.

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