VirtualBox

Changeset 19572 in vbox for trunk/include/VBox


Ignore:
Timestamp:
May 11, 2009 11:24:27 AM (16 years ago)
Author:
vboxsync
Message:

Started with ring 0 stack trace dump support.

File:
1 edited

Legend:

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

    r19354 r19572  
    739739/** @} */
    740740
    741 VMMR3DECL(int)              DBGFR3StackWalkBeginGuest(PVM pVM, VMCPUID idCpu, PCDBGFSTACKFRAME *ppFirstFrame);
    742 VMMR3DECL(int)              DBGFR3StackWalkBeginHyper(PVM pVM, VMCPUID idCpu, PCDBGFSTACKFRAME *ppFirstFrame);
    743 VMMR3DECL(int)              DBGFR3StackWalkBeginGuestEx(PVM pVM, VMCPUID idCpu, PCDBGFADDRESS pAddrFrame,
    744                                                         PCDBGFADDRESS pAddrStack,PCDBGFADDRESS pAddrPC,
    745                                                         DBGFRETURNTYPE enmReturnType, PCDBGFSTACKFRAME *ppFirstFrame);
    746 VMMR3DECL(int)              DBGFR3StackWalkBeginHyperEx(PVM pVM, VMCPUID idCpu, PCDBGFADDRESS pAddrFrame,
    747                                                         PCDBGFADDRESS pAddrStack,PCDBGFADDRESS pAddrPC,
    748                                                         DBGFRETURNTYPE enmReturnType, PCDBGFSTACKFRAME *ppFirstFrame);
     741/** @name DBGFCODETYPE
     742 * @{ */
     743typedef enum DBGFCODETYPE
     744{
     745    /** The usual invalid 0 value. */
     746    DBGFCODETYPE_INVALID = 0,
     747    /** Stack walk for guest code. */
     748    DBGFCODETYPE_GUEST,
     749    /** Stack walk for hypervisor code. */
     750    DBGFCODETYPE_HYPER,
     751    /** Stack walk for ring 0 code. */
     752    DBGFCODETYPE_RING0,
     753    /** The usual 32-bit blowup. */
     754    DBGFCODETYPE_32BIT_HACK = 0x7fffffff
     755} DBGFCODETYPE;
     756/** @} */
     757
     758VMMR3DECL(int)              DBGFR3StackWalkBegin(PVM pVM, VMCPUID idCpu, DBGFCODETYPE enmCodeType, PCDBGFSTACKFRAME *ppFirstFrame);
     759VMMR3DECL(int)              DBGFR3StackWalkBeginEx(PVM pVM, VMCPUID idCpu, DBGFCODETYPE enmCodeType, PCDBGFADDRESS pAddrFrame,
     760                                                   PCDBGFADDRESS pAddrStack,PCDBGFADDRESS pAddrPC,
     761                                                   DBGFRETURNTYPE enmReturnType, PCDBGFSTACKFRAME *ppFirstFrame);
    749762VMMR3DECL(PCDBGFSTACKFRAME) DBGFR3StackWalkNext(PCDBGFSTACKFRAME pCurrent);
    750763VMMR3DECL(void)             DBGFR3StackWalkEnd(PCDBGFSTACKFRAME pFirstFrame);
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