Changeset 35410 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Jan 5, 2011 5:21:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/DBGFInternal.h
r35346 r35410 194 194 { 195 195 /** Offset to the VM structure. */ 196 RTINToffVM;196 int32_t offVM; 197 197 198 198 /** Debugger Attached flag. 199 199 * Set if a debugger is attached, elsewise it's clear. 200 200 */ 201 bool volatile fAttached;201 bool volatile fAttached; 202 202 203 203 /** Stopped in the Hypervisor. … … 205 205 * the hypervisor and have to restrict the available operations. 206 206 */ 207 bool volatile fStoppedInHyper;207 bool volatile fStoppedInHyper; 208 208 209 209 /** … … 211 211 * the Debugger. 212 212 */ 213 RTPINGPONG PingPong;213 RTPINGPONG PingPong; 214 214 215 215 /** The Event to the debugger. … … 218 218 * previously. 219 219 */ 220 DBGFEVENT DbgEvent;220 DBGFEVENT DbgEvent; 221 221 222 222 /** The Command to the VMM. … … 226 226 * when it have processed it. 227 227 */ 228 DBGFCMD volatile enmVMMCmd;228 DBGFCMD volatile enmVMMCmd; 229 229 /** The Command data. 230 230 * Not all commands take data. */ 231 DBGFCMDDATA VMMCmdData;231 DBGFCMDDATA VMMCmdData; 232 232 233 233 /** List of registered info handlers. */ 234 R3PTRTYPE(PDBGFINFO) pInfoFirst;234 R3PTRTYPE(PDBGFINFO) pInfoFirst; 235 235 /** Critical section protecting the above list. */ 236 RTCRITSECT InfoCritSect;236 RTCRITSECT InfoCritSect; 237 237 238 238 /** Range tree containing the loaded symbols of the a VM. 239 239 * This tree will never have blind spots. */ 240 R3PTRTYPE(AVLRGCPTRTREE) SymbolTree;240 R3PTRTYPE(AVLRGCPTRTREE) SymbolTree; 241 241 /** Symbol name space. */ 242 R3PTRTYPE(PRTSTRSPACE) pSymbolSpace;242 R3PTRTYPE(PRTSTRSPACE) pSymbolSpace; 243 243 /** Indicates whether DBGFSym.cpp is initialized or not. 244 244 * This part is initialized in a lazy manner for performance reasons. */ 245 bool fSymInited;245 bool fSymInited; 246 246 /** Alignment padding. */ 247 RTUINT uAlignment0;247 RTUINT uAlignment0; 248 248 249 249 /** The number of hardware breakpoints. */ 250 RTUINT cHwBreakpoints;250 RTUINT cHwBreakpoints; 251 251 /** The number of active breakpoints. */ 252 RTUINT cBreakpoints;252 RTUINT cBreakpoints; 253 253 /** Array of hardware breakpoints. (0..3) 254 254 * This is shared among all the CPUs because life is much simpler that way. */ 255 DBGFBP aHwBreakpoints[4];255 DBGFBP aHwBreakpoints[4]; 256 256 /** Array of int 3 and REM breakpoints. (4..) 257 257 * @remark This is currently a fixed size array for reasons of simplicity. */ 258 DBGFBP aBreakpoints[32];258 DBGFBP aBreakpoints[32]; 259 259 260 260 /** The address space database lock. */ 261 RTSEMRW hAsDbLock;261 RTSEMRW hAsDbLock; 262 262 /** The address space handle database. (Protected by hAsDbLock.) */ 263 R3PTRTYPE(AVLPVTREE) AsHandleTree;263 R3PTRTYPE(AVLPVTREE) AsHandleTree; 264 264 /** The address space process id database. (Protected by hAsDbLock.) */ 265 R3PTRTYPE(AVLU32TREE) AsPidTree;265 R3PTRTYPE(AVLU32TREE) AsPidTree; 266 266 /** The address space name database. (Protected by hAsDbLock.) */ 267 R3PTRTYPE(RTSTRSPACE) AsNameSpace;267 R3PTRTYPE(RTSTRSPACE) AsNameSpace; 268 268 /** Special address space aliases. (Protected by hAsDbLock.) */ 269 RTDBGAS volatile ahAsAliases[DBGF_AS_COUNT];269 RTDBGAS volatile ahAsAliases[DBGF_AS_COUNT]; 270 270 /** For lazily populating the aliased address spaces. */ 271 bool volatile afAsAliasPopuplated[DBGF_AS_COUNT];271 bool volatile afAsAliasPopuplated[DBGF_AS_COUNT]; 272 272 /** 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; 274 279 275 280 /** The current Guest OS digger. */ 276 R3PTRTYPE(PDBGFOS) pCurOS;281 R3PTRTYPE(PDBGFOS) pCurOS; 277 282 /** The head of the Guest OS digger instances. */ 278 R3PTRTYPE(PDBGFOS) pOSHead;283 R3PTRTYPE(PDBGFOS) pOSHead; 279 284 } DBGF; 280 285 /** Pointer to DBGF Data. */
Note:
See TracChangeset
for help on using the changeset viewer.