VirtualBox

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


Ignore:
Timestamp:
Jan 5, 2011 5:21:11 PM (14 years ago)
Author:
vboxsync
Message:

DBGFReg revamp #2.

File:
1 edited

Legend:

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

    r35346 r35410  
    194194{
    195195    /** Offset to the VM structure. */
    196     RTINT                   offVM;
     196    int32_t                     offVM;
    197197
    198198    /** Debugger Attached flag.
    199199     * Set if a debugger is attached, elsewise it's clear.
    200200     */
    201     bool volatile           fAttached;
     201    bool volatile               fAttached;
    202202
    203203    /** Stopped in the Hypervisor.
     
    205205     * the hypervisor and have to restrict the available operations.
    206206     */
    207     bool volatile           fStoppedInHyper;
     207    bool volatile               fStoppedInHyper;
    208208
    209209    /**
     
    211211     * the Debugger.
    212212     */
    213     RTPINGPONG              PingPong;
     213    RTPINGPONG                  PingPong;
    214214
    215215    /** The Event to the debugger.
     
    218218     * previously.
    219219     */
    220     DBGFEVENT               DbgEvent;
     220    DBGFEVENT                   DbgEvent;
    221221
    222222    /** The Command to the VMM.
     
    226226     * when it have processed it.
    227227     */
    228     DBGFCMD volatile        enmVMMCmd;
     228    DBGFCMD volatile            enmVMMCmd;
    229229    /** The Command data.
    230230     * Not all commands take data. */
    231     DBGFCMDDATA             VMMCmdData;
     231    DBGFCMDDATA                 VMMCmdData;
    232232
    233233    /** List of registered info handlers. */
    234     R3PTRTYPE(PDBGFINFO)    pInfoFirst;
     234    R3PTRTYPE(PDBGFINFO)        pInfoFirst;
    235235    /** Critical section protecting the above list. */
    236     RTCRITSECT              InfoCritSect;
     236    RTCRITSECT                  InfoCritSect;
    237237
    238238    /** Range tree containing the loaded symbols of the a VM.
    239239     * This tree will never have blind spots. */
    240     R3PTRTYPE(AVLRGCPTRTREE) SymbolTree;
     240    R3PTRTYPE(AVLRGCPTRTREE)    SymbolTree;
    241241    /** Symbol name space. */
    242     R3PTRTYPE(PRTSTRSPACE)  pSymbolSpace;
     242    R3PTRTYPE(PRTSTRSPACE)      pSymbolSpace;
    243243    /** Indicates whether DBGFSym.cpp is initialized or not.
    244244     * This part is initialized in a lazy manner for performance reasons. */
    245     bool                    fSymInited;
     245    bool                        fSymInited;
    246246    /** Alignment padding. */
    247     RTUINT                  uAlignment0;
     247    RTUINT                      uAlignment0;
    248248
    249249    /** The number of hardware breakpoints. */
    250     RTUINT                  cHwBreakpoints;
     250    RTUINT                      cHwBreakpoints;
    251251    /** The number of active breakpoints. */
    252     RTUINT                  cBreakpoints;
     252    RTUINT                      cBreakpoints;
    253253    /** Array of hardware breakpoints. (0..3)
    254254     * This is shared among all the CPUs because life is much simpler that way. */
    255     DBGFBP                  aHwBreakpoints[4];
     255    DBGFBP                      aHwBreakpoints[4];
    256256    /** Array of int 3 and REM breakpoints. (4..)
    257257     * @remark This is currently a fixed size array for reasons of simplicity. */
    258     DBGFBP                  aBreakpoints[32];
     258    DBGFBP                      aBreakpoints[32];
    259259
    260260    /** The address space database lock. */
    261     RTSEMRW                 hAsDbLock;
     261    RTSEMRW                     hAsDbLock;
    262262    /** The address space handle database.      (Protected by hAsDbLock.) */
    263     R3PTRTYPE(AVLPVTREE)    AsHandleTree;
     263    R3PTRTYPE(AVLPVTREE)        AsHandleTree;
    264264    /** The address space process id database.  (Protected by hAsDbLock.) */
    265     R3PTRTYPE(AVLU32TREE)   AsPidTree;
     265    R3PTRTYPE(AVLU32TREE)       AsPidTree;
    266266    /** The address space name database.        (Protected by hAsDbLock.) */
    267     R3PTRTYPE(RTSTRSPACE)   AsNameSpace;
     267    R3PTRTYPE(RTSTRSPACE)       AsNameSpace;
    268268    /** Special address space aliases.          (Protected by hAsDbLock.) */
    269     RTDBGAS volatile        ahAsAliases[DBGF_AS_COUNT];
     269    RTDBGAS volatile            ahAsAliases[DBGF_AS_COUNT];
    270270    /** For lazily populating the aliased address spaces. */
    271     bool volatile           afAsAliasPopuplated[DBGF_AS_COUNT];
     271    bool volatile               afAsAliasPopuplated[DBGF_AS_COUNT];
    272272    /** Alignment padding. */
    273     bool                    afAlignment[2];
     273    bool                        afAlignment[2];
     274
     275    /** The register database lock. */
     276    RTSEMRW                     hRegDbLock;
     277    /** String space holding the register sets. (Protected by hRegDbLock.)  */
     278    R3PTRTYPE(RTSTRSPACE)       RegSetSpace;
    274279
    275280    /** The current Guest OS digger. */
    276     R3PTRTYPE(PDBGFOS)      pCurOS;
     281    R3PTRTYPE(PDBGFOS)          pCurOS;
    277282    /** The head of the Guest OS digger instances. */
    278     R3PTRTYPE(PDBGFOS)      pOSHead;
     283    R3PTRTYPE(PDBGFOS)          pOSHead;
    279284} DBGF;
    280285/** Pointer to DBGF Data. */
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