ReactOS  0.4.14-dev-317-g96040ec
kdtypes.h
Go to the documentation of this file.
1 /*++ NDK Version: 0098
2 
3 Copyright (c) Alex Ionescu. All rights reserved.
4 
5 Header Name:
6 
7  kdtypes.h
8 
9 Abstract:
10 
11  Type definitions for the Kernel Debugger.
12 
13 Author:
14 
15  Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
16 
17 --*/
18 
19 #ifndef _KDTYPES_H
20 #define _KDTYPES_H
21 
22 //
23 // Dependencies
24 //
25 #include <umtypes.h>
26 
27 //
28 // Debug Filter Levels
29 //
30 #define DPFLTR_ERROR_LEVEL 0
31 #define DPFLTR_WARNING_LEVEL 1
32 #define DPFLTR_TRACE_LEVEL 2
33 #define DPFLTR_INFO_LEVEL 3
34 #define DPFLTR_MASK 0x80000000
35 
36 //
37 // Debug Status Codes
38 //
39 #define DBG_STATUS_CONTROL_C 1
40 #define DBG_STATUS_SYSRQ 2
41 #define DBG_STATUS_BUGCHECK_FIRST 3
42 #define DBG_STATUS_BUGCHECK_SECOND 4
43 #define DBG_STATUS_FATAL 5
44 #define DBG_STATUS_DEBUG_CONTROL 6
45 #define DBG_STATUS_WORKER 7
46 
47 //
48 // DebugService Control Types
49 //
50 #define BREAKPOINT_BREAK 0
51 #define BREAKPOINT_PRINT 1
52 #define BREAKPOINT_PROMPT 2
53 #define BREAKPOINT_LOAD_SYMBOLS 3
54 #define BREAKPOINT_UNLOAD_SYMBOLS 4
55 #define BREAKPOINT_COMMAND_STRING 5
56 
57 //
58 // Debug Control Codes for NtSystemDebugcontrol
59 //
60 typedef enum _SYSDBG_COMMAND
61 {
100 
101 //
102 // System Debugger Types
103 //
104 typedef struct _SYSDBG_PHYSICAL
105 {
110 
111 typedef struct _SYSDBG_VIRTUAL
112 {
117 
118 typedef struct _SYSDBG_CONTROL_SPACE
119 {
125 
126 typedef struct _SYSDBG_IO_SPACE
127 {
135 
136 typedef struct _SYSDBG_BUS_DATA
137 {
145 
146 typedef struct _SYSDBG_MSR
147 {
151 
152 typedef struct _SYSDBG_TRIAGE_DUMP
153 {
164 
165 //
166 // KD Structures
167 //
168 typedef struct _KD_SYMBOLS_INFO
169 {
175 
176 #endif // _KDTYPES_H
ULONG Address
Definition: kdtypes.h:148
struct _SYSDBG_TRIAGE_DUMP * PSYSDBG_TRIAGE_DUMP
struct _SYSDBG_MSR SYSDBG_MSR
ULONG ProcessHandles
Definition: kdtypes.h:160
enum _INTERFACE_TYPE INTERFACE_TYPE
struct _SYSDBG_PHYSICAL * PSYSDBG_PHYSICAL
ULONG SizeOfImage
Definition: kdtypes.h:173
ULONG Request
Definition: kdtypes.h:115
struct _SYSDBG_TRIAGE_DUMP SYSDBG_TRIAGE_DUMP
struct _KD_SYMBOLS_INFO * PKD_SYMBOLS_INFO
enum _BUS_DATA_TYPE BUS_DATA_TYPE
PVOID Address
Definition: kdtypes.h:113
struct _SYSDBG_VIRTUAL SYSDBG_VIRTUAL
ULONG_PTR BugCheckParam2
Definition: kdtypes.h:157
uint32_t ULONG_PTR
Definition: typedefs.h:63
ULONG AddressSpace
Definition: kdtypes.h:133
struct _SYSDBG_IO_SPACE * PSYSDBG_IO_SPACE
struct _SYSDBG_VIRTUAL * PSYSDBG_VIRTUAL
struct _SYSDBG_CONTROL_SPACE * PSYSDBG_CONTROL_SPACE
ULONGLONG Address
Definition: kdtypes.h:120
enum _SYSDBG_COMMAND SYSDBG_COMMAND
struct _SYSDBG_CONTROL_SPACE SYSDBG_CONTROL_SPACE
PVOID BaseOfDll
Definition: kdtypes.h:170
ULONGLONG Data
Definition: kdtypes.h:149
struct _SYSDBG_MSR * PSYSDBG_MSR
ULONG_PTR BugCheckParam3
Definition: kdtypes.h:158
uint64_t ULONGLONG
Definition: typedefs.h:65
ULONG_PTR BugCheckParam4
Definition: kdtypes.h:159
BUS_DATA_TYPE BusDataType
Definition: kdtypes.h:141
ULONG BusNumber
Definition: kdtypes.h:132
ULONG_PTR BugCheckParam1
Definition: kdtypes.h:156
struct _SYSDBG_BUS_DATA SYSDBG_BUS_DATA
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
struct _KD_SYMBOLS_INFO KD_SYMBOLS_INFO
struct _SYSDBG_IO_SPACE SYSDBG_IO_SPACE
ULONG BusNumber
Definition: kdtypes.h:142
ULONG CheckSum
Definition: kdtypes.h:172
struct _SYSDBG_PHYSICAL SYSDBG_PHYSICAL
struct _SYSDBG_BUS_DATA * PSYSDBG_BUS_DATA
_SYSDBG_COMMAND
Definition: kdtypes.h:60
PHYSICAL_ADDRESS Address
Definition: kdtypes.h:106
ULONG SlotNumber
Definition: kdtypes.h:143
unsigned int ULONG
Definition: retypes.h:1
ULONGLONG Address
Definition: kdtypes.h:128
INTERFACE_TYPE InterfaceType
Definition: kdtypes.h:131
ULONG_PTR ProcessId
Definition: kdtypes.h:171
PVOID Buffer
Definition: kdtypes.h:114