VirtualBox

Changeset 59003 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Dec 4, 2015 9:46:44 PM (9 years ago)
Author:
vboxsync
Message:

HM: Fixes for the VT-x trace points and debug events.

Location:
trunk/src/VBox/VMM/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/HMInternal.h

    r58998 r59003  
    632632    /** Set when the TLB has been checked until we return from the world switch. */
    633633    volatile bool               fCheckedTLBFlush;
    634     /** Whether we're executing a single instruction. */
    635     bool                        fSingleInstruction;
    636     /** Whether we should use the debug loop because of single stepping or special
    637      *  debug breakpoints / events are armed. */
    638     bool                        fUseDebugLoop;
    639     /** Whether we are currently executing in the debug loop.
    640      *  Mainly for assertions. */
    641     bool                        fUsingDebugLoop;
    642     /** Set if we need to clear the trap flag because of single stepping. */
    643     bool                        fClearTrapFlag;
    644634    /** Whether we've completed the inner HM leave function. */
    645635    bool                        fLeaveDone;
     
    652642    bool                        fLoadSaveGuestXcr0;
    653643
     644    /** Whether we should use the debug loop because of single stepping or special
     645     *  debug breakpoints / events are armed. */
     646    bool                        fUseDebugLoop;
     647    /** Whether we are currently executing in the debug loop.
     648     *  Mainly for assertions. */
     649    bool                        fUsingDebugLoop;
     650    /** Set if we using the debug loop and wish to intercept RDTSC. */
     651    bool                        fDebugWantRdTscExit;
     652    /** Whether we're executing a single instruction. */
     653    bool                        fSingleInstruction;
     654    /** Set if we need to clear the trap flag because of single stepping. */
     655    bool                        fClearTrapFlag;
     656
    654657    /** Whether \#UD needs to be intercepted (required by certain GIM providers). */
    655658    bool                        fGIMTrapXcptUD;
    656659    /** Whether paravirt. hypercalls are enabled. */
    657660    bool                        fHypercallsEnabled;
    658     uint8_t                     u8Alignment0[3];
     661    uint8_t                     u8Alignment0[2];
    659662
    660663    /** World switch exit counter. */
  • trunk/src/VBox/VMM/include/HMInternal.mac

    r58998 r59003  
    6767        .fActive                resb    1
    6868        .fCheckedTLBFlush       resb    1
    69         .fSingleInstruction     resb    1
    70         .fUseDebugLoop          resb    1
    71         .fUsingDebugLoop        resb    1
    72         .fClearTrapFlag         resb    1
    7369        .fLeaveDone             resb    1
    7470        .fUsingHyperDR7         resb    1
    7571        .fPreloadGuestFpu       resb    1
    7672        .fLoadSaveGuestXcr0     resb    1
     73
     74        .fUseDebugLoop          resb    1
     75        .fUsingDebugLoop        resb    1
     76        .fDebugWantRdTscExit    resb    1
     77        .fSingleInstruction     resb    1
     78        .fClearTrapFlag         resb    1
     79
    7780        .fGIMTrapXcptUD         resb    1
    7881        .fHypercallsEnabled     resb    1
    7982        alignb 8
     83
    8084        .cWorldSwitchExits      resd    1
    8185        .fContextUseFlags       resd    1
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