VirtualBox

Changeset 58979 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Dec 3, 2015 9:46:20 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104501
Message:

VBoxVMM.d,dbgf.h: Some new DBGF exit events, updated the dtrace provider with probes matching most of the DBGF exit events because it's no big deal once we've got the events. Some of the probes needs more parameters, will consider that later or when needed.

File:
1 edited

Legend:

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

    r58938 r58979  
    203203    /** Tripple fault.
    204204     * @todo not yet implemented.  */
    205     DBGFEVENT_TRIPPLE_FAULT = DBGFEVENT_FIRST_SELECTABLE,
     205    DBGFEVENT_TRIPLE_FAULT = DBGFEVENT_FIRST_SELECTABLE,
    206206    DBGFEVENT_XCPT_DE,      /**< 0x00 - \#DE - Fault - NoErr - Integer divide error (zero/overflow). */
    207207    DBGFEVENT_XCPT_DB,      /**< 0x01 - \#DB - trap/fault - NoErr - debug event. */
     
    234234    DBGFEVENT_XCPT_1c,      /**< 0x1c - Intel Reserved. */
    235235    DBGFEVENT_XCPT_1d,      /**< 0x1d - Intel Reserved. */
    236     DBGFEVENT_XCPT_1e,      /**< 0x1e - \#SX - Fault - ErrCd - Security Exception. */
     236    DBGFEVENT_XCPT_SX,      /**< 0x1e - \#SX - Fault - ErrCd - Security Exception. */
    237237    DBGFEVENT_XCPT_1f,      /**< 0x1f - Intel Reserved. */
    238238    /** The first exception event. */
     
    240240    /** The last exception event. */
    241241    DBGFEVENT_XCPT_LAST  = DBGFEVENT_XCPT_1f,
    242     /** Interrupt event.
    243      * @todo not yet implemented.  */
    244     DBGFEVENT_INT,
    245242    /** Access to an unassigned I/O port.
    246243     * @todo not yet implemented. */
     
    273270     * @todo not yet implemented.  */
    274271    DBGFEVENT_EXIT_CPUID,
    275     /** Exit - INV instruction.
    276      * @todo not yet implemented.  */
    277     DBGFEVENT_EXIT_INV,
     272    /** Exit - INVD instruction.
     273     * @todo not yet implemented.  */
     274    DBGFEVENT_EXIT_INVD,
    278275    /** Exit - WBINVD instruction.
    279276     * @todo not yet implemented.  */
     
    297294     * @todo not yet implemented.  */
    298295    DBGFEVENT_EXIT_WRMSR,
    299     /** Exit - CRx read instruction (missing smsw in raw-mode).
     296    /** Exit - CRx read instruction (missing smsw in raw-mode, and reads in
     297     *  general in VT-x).
    300298     * @todo not yet implemented.  */
    301299    DBGFEVENT_EXIT_CRX_READ,
     
    308306    /** Exit - DRx write instruction.
    309307     * @todo not yet implemented.  */
    310     DBGFEVENT_EXIT_DRx_WRITE,
     308    DBGFEVENT_EXIT_DRX_WRITE,
    311309    /** Exit - PAUSE instruction (not in raw-mode).
    312310     * @todo not yet implemented.  */
     
    315313     * @todo not yet implemented.  */
    316314    DBGFEVENT_EXIT_XSETBV,
     315    /** Exit - SIDT instruction.
     316     * @todo not yet implemented.  */
     317    DBGFEVENT_EXIT_SIDT,
     318    /** Exit - LIDT instruction.
     319     * @todo not yet implemented.  */
     320    DBGFEVENT_EXIT_LIDT,
     321    /** Exit - SGDT instruction.
     322     * @todo not yet implemented.  */
     323    DBGFEVENT_EXIT_SGDT,
     324    /** Exit - LGDT instruction.
     325     * @todo not yet implemented.  */
     326    DBGFEVENT_EXIT_LGDT,
     327    /** Exit - SLDT instruction.
     328     * @todo not yet implemented.  */
     329    DBGFEVENT_EXIT_SLDT,
     330    /** Exit - LLDT instruction.
     331     * @todo not yet implemented.  */
     332    DBGFEVENT_EXIT_LLDT,
     333    /** Exit - STR instruction.
     334     * @todo not yet implemented.  */
     335    DBGFEVENT_EXIT_STR,
     336    /** Exit - LTR instruction.
     337     * @todo not yet implemented.  */
     338    DBGFEVENT_EXIT_LTR,
     339    /** Exit - GETSEC instruction.
     340     * @todo not yet implemented.  */
     341    DBGFEVENT_EXIT_GETSEC,
     342    /** Exit - RSM instruction.
     343     * @todo not yet implemented.  */
     344    DBGFEVENT_EXIT_RSM,
     345    /** Exit - RDRAND instruction.
     346     * @todo not yet implemented.  */
     347    DBGFEVENT_EXIT_RDRAND,
     348    /** Exit - RDSEED instruction.
     349     * @todo not yet implemented.  */
     350    DBGFEVENT_EXIT_RDSEED,
     351    /** Exit - XSAVES instruction.
     352     * @todo not yet implemented.  */
     353    DBGFEVENT_EXIT_XSAVES,
     354    /** Exit - XRSTORS instruction.
     355     * @todo not yet implemented.  */
     356    DBGFEVENT_EXIT_XRSTORS,
    317357    /** Exit - VMCALL (intel) or VMMCALL (AMD) instruction.
    318358     * @todo not yet implemented.  */
     
    353393     * @todo not yet implemented.  */
    354394    DBGFEVENT_EXIT_VMX_VMFUNC,
     395    /** Exit - VT-x INVEPT instruction.
     396     * @todo not yet implemented.  */
     397    DBGFEVENT_EXIT_VMX_INVEPT,
     398    /** Exit - VT-x INVVPID instruction.
     399     * @todo not yet implemented.  */
     400    DBGFEVENT_EXIT_VMX_INVVPID,
     401    /** Exit - VT-x INVPCID instruction.
     402     * @todo not yet implemented.  */
     403    DBGFEVENT_EXIT_VMX_INVPCID,
     404    /** Exit - VT-x EPT violation. */
     405    DBGFEVENT_EXIT_VMX_EPT_VIOLATION,
     406    /** Exit - VT-x EPT misconfiguration. */
     407    DBGFEVENT_EXIT_VMX_EPT_MISCONFIG,
     408    /** Exit - VT-x Virtual APIC page access. */
     409    DBGFEVENT_EXIT_VMX_VAPIC_ACCESS,
     410    /** Exit - VT-x Virtual APIC write. */
     411    DBGFEVENT_EXIT_VMX_VAPIC_WRITE,
    355412    /** Exit - VT-x - Last. */
    356     DBGFEVENT_EXIT_VMX_LAST = DBGFEVENT_EXIT_VMX_VMFUNC,
     413    DBGFEVENT_EXIT_VMX_LAST = DBGFEVENT_EXIT_VMX_INVEPT,
    357414
    358415    /** Exit - AMD-V - first */
     
    794851VMM_INT_DECL(bool)          DBGFIsStepping(PVMCPU pVCpu);
    795852VMM_INT_DECL(VBOXSTRICTRC)  DBGFBpCheckIo(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, RTIOPORT uIoPort, uint8_t cbValue);
     853VMM_INT_DECL(VBOXSTRICTRC)  DBGFEventGenericWithArg(PVM pVM, PVMCPU pVCpu, DBGFEVENTTYPE enmEvent, uint64_t uEventArg);
    796854
    797855
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