VirtualBox

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


Ignore:
Timestamp:
Sep 25, 2019 9:12:34 AM (5 years ago)
Author:
vboxsync
Message:

VMM: bugref:9566 TRPM enhancements and cleanup. Bumps TRPM saved-state version.

File:
1 edited

Legend:

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

    r80938 r81002  
    7272
    7373    /** Errorcode for the active interrupt/trap. */
    74     RTGCUINT                uActiveErrorCode; /**< @todo don't use RTGCUINT */
    75 
    76     /** CR2 at the time of the active exception. */
    77     RTGCUINTPTR             uActiveCR2;
    78 
    79     /** Saved trap vector number. */
    80     RTGCUINT                uSavedVector; /**< @todo don't use RTGCUINT */
    81 
    82     /** Saved errorcode. */
    83     RTGCUINT                uSavedErrorCode;
    84 
    85     /** Saved cr2. */
    86     RTGCUINTPTR             uSavedCR2;
    87 
    88     /** Saved trap type. */
    89     TRPMEVENT               enmSavedType;
     74    uint32_t                uActiveErrorCode;
    9075
    9176    /** Instruction length for software interrupts and software exceptions
     
    9378    uint8_t                 cbInstr;
    9479
    95     /** Saved instruction length. */
    96     uint8_t                 cbSavedInstr;
     80    /** Whether this \#DB trap is caused due to INT1/ICEBP. */
     81    bool                    fIcebp;
    9782
    98     /** Padding. */
    99     uint8_t                 au8Padding[2];
    100 
    101     /** Previous trap vector # - for debugging. */
    102     RTGCUINT                uPrevVector;
     83    /** CR2 at the time of the active exception. */
     84    RTGCUINTPTR             uActiveCR2;
    10385} TRPMCPU;
    10486
    10587/** Pointer to TRPMCPU Data. */
    10688typedef TRPMCPU *PTRPMCPU;
     89/** Pointer to const TRPMCPU Data. */
     90typedef const TRPMCPU *PCTRPMCPU;
    10791
    10892/** @} */
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