VirtualBox

Changeset 73348 in vbox for trunk/include


Ignore:
Timestamp:
Jul 25, 2018 9:25:45 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123962
Message:

DBGF,DBGC,GIMHv: Added some basic windows bug check formatting (DBGFR3FormatBugCheck). Extended DBGFEventGenericWithArgs and DBGFEVENT to hold up to 6 64-bit arguments, so that we can pass all the bug check arguments to the debugger.

File:
1 edited

Legend:

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

    r73150 r73348  
    500500        struct DBGFEVENTGENERIC
    501501        {
    502             /** Argument. */
    503             uint64_t                uArg;
     502            /** Number of arguments. */
     503            uint8_t                 cArgs;
     504            /** Alignmnet padding. */
     505            uint8_t                 uPadding[7];
     506            /** Arguments. */
     507            uint64_t                auArgs[6];
    504508        } Generic;
    505509
    506510        /** Padding for ensuring that the structure is 8 byte aligned. */
    507         uint64_t        au64Padding[4];
     511        uint64_t        au64Padding[7];
    508512    } u;
    509513} DBGFEVENT;
     
    532536VMMR3_INT_DECL(void)    DBGFR3PowerOff(PVM pVM);
    533537VMMR3_INT_DECL(void)    DBGFR3Relocate(PVM pVM, RTGCINTPTR offDelta);
     538
    534539VMMR3_INT_DECL(int)     DBGFR3VMMForcedAction(PVM pVM, PVMCPU pVCpu);
    535540VMMR3_INT_DECL(VBOXSTRICTRC)    DBGFR3EventHandlePending(PVM pVM, PVMCPU pVCpu);
     
    541546VMMR3_INT_DECL(int)     DBGFR3EventAssertion(PVM pVM, DBGFEVENTTYPE enmEvent, const char *pszMsg1, const char *pszMsg2);
    542547VMMR3_INT_DECL(int)     DBGFR3EventBreakpoint(PVM pVM, DBGFEVENTTYPE enmEvent);
     548
    543549VMMR3_INT_DECL(int)     DBGFR3PrgStep(PVMCPU pVCpu);
    544550
     
    885891VMM_INT_DECL(bool)          DBGFIsStepping(PVMCPU pVCpu);
    886892VMM_INT_DECL(VBOXSTRICTRC)  DBGFBpCheckIo(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, RTIOPORT uIoPort, uint8_t cbValue);
    887 VMM_INT_DECL(VBOXSTRICTRC)  DBGFEventGenericWithArg(PVM pVM, PVMCPU pVCpu, DBGFEVENTTYPE enmEvent, uint64_t uEventArg,
    888                                                     DBGFEVENTCTX enmCtx);
     893VMM_INT_DECL(VBOXSTRICTRC)  DBGFEventGenericWithArgs(PVM pVM, PVMCPU pVCpu, DBGFEVENTTYPE enmEvent, DBGFEVENTCTX enmCtx,
     894                                                     unsigned cArgs, ...);
    889895
    890896
     
    27072713/** @} */
    27082714
     2715
     2716/** @defgroup grp_dbgf_misc  Misc DBGF interfaces.
     2717 * @{ */
     2718VMMR3DECL(int)               DBGFR3FormatBugCheck(PUVM pUVM, char *pszDetails, size_t cbDetails,
     2719                                                  uint64_t uP0, uint64_t uP1, uint64_t uP2, uint64_t uP3, uint64_t uP4);
     2720/** @} */
    27092721#endif /* IN_RING3 */
    27102722
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