ReactOS 0.4.16-dev-2491-g3dc6630
kdtypes.h
Go to the documentation of this file.
1/******************************************************************************
2 * Kernel Debugger Types *
3 ******************************************************************************/
5typedef struct _DEBUG_DEVICE_ADDRESS {
7 BOOLEAN Valid;
8#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
9 union {
10#endif
11 UCHAR Reserved[2];
12#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
13 struct {
14 UCHAR BitWidth;
15 UCHAR AccessSize;
16 };
17 };
18#endif
22
31
32#if (NTDDI_VERSION >= NTDDI_WIN8)
33typedef enum {
38 KdNameSpaceMax, /* Maximum namespace enumerator */
40#endif
41
42typedef enum {
48
49#if (NTDDI_VERSION >= NTDDI_WIN10)
50typedef struct _DEBUG_TRANSPORT_DATA {
53#if (NTDDI_VERSION >= NTDDI_WIN10_RS5)
56#endif
58#endif
59
60#define MAXIMUM_DEBUG_BARS 6
61
62#if (NTDDI_VERSION >= NTDDI_WIN10)
63#define DBG_DEVICE_FLAG_HAL_SCRATCH_ALLOCATED 0x01
64#define DBG_DEVICE_FLAG_BARS_MAPPED 0x02
65#define DBG_DEVICE_FLAG_SCRATCH_ALLOCATED 0x04
66#endif
67#if (NTDDI_VERSION >= NTDDI_WIN10_RS2)
68#define DBG_DEVICE_FLAG_UNCACHED_MEMORY 0x08
69#endif
70#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
71#define DBG_DEVICE_FLAG_SYNTHETIC 0x10
72#endif
73
76#if (NTDDI_VERSION >= NTDDI_VISTA) && (NTDDI_VERSION < NTDDI_WIN8)
78#endif
80#if (NTDDI_VERSION >= NTDDI_WIN8)
82#endif
88#if (NTDDI_VERSION >= NTDDI_WIN8)
89#if (NTDDI_VERSION >= NTDDI_WIN10)
90 union {
91#endif
93#if (NTDDI_VERSION >= NTDDI_WIN10)
94 struct {
98 };
99 };
100#endif
101#endif
103#if (NTDDI_VERSION >= NTDDI_VISTA)
105#endif
108#if (NTDDI_VERSION >= NTDDI_WIN10_19H1)
110#endif
111#if (NTDDI_VERSION >= NTDDI_WIN8)
119#endif
120#if (NTDDI_VERSION >= NTDDI_WIN10)
123#endif
125
129
130typedef NTSTATUS
132 _In_opt_ PVOID LoaderBlock,
134
135typedef NTSTATUS
138
139typedef PVOID
141 _In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
143
144typedef VOID
146
147#if (NTDDI_VERSION >= NTDDI_VISTASP1)
148typedef PVOID
151 _In_ ULONG NumberPages,
152 _In_ BOOLEAN FlushCurrentTLB);
153
154typedef VOID
157 _In_ ULONG NumberPages,
158 _In_ BOOLEAN FlushCurrentTLB);
159#else
160typedef PVOID
163 _In_ ULONG NumberPages);
164
165typedef VOID
168 _In_ ULONG NumberPages);
169#endif
170
171typedef ULONG
178
179typedef ULONG
186
187typedef NTSTATUS
189 _In_ PVOID LoaderBlock,
192
193typedef NTSTATUS
195 _In_opt_ PVOID LoaderBlock,
196 _Inout_ PDEBUG_DEVICE_DESCRIPTOR IntegratedDevice);
197
198typedef NTSTATUS
200 _Inout_ PDEBUG_DEVICE_DESCRIPTOR IntegratedDevice);
Type
Definition: Type.h:7
#define VOID
Definition: acefi.h:82
unsigned char BOOLEAN
Definition: actypes.h:127
Definition: bufpool.h:45
#define NTSTATUS
Definition: precomp.h:19
static const WCHAR Signature[]
Definition: parser.c:141
#define _In_reads_bytes_(s)
Definition: no_sal2.h:170
#define _Inout_
Definition: no_sal2.h:162
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
#define _Out_writes_bytes_(s)
Definition: no_sal2.h:178
#define _NTDDK_
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
unsigned short USHORT
Definition: pedump.c:61
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
DEBUG_DEVICE_ADDRESS BaseAddress[MAXIMUM_DEBUG_BARS]
Definition: kdtypes.h:106
DEBUG_TRANSPORT_DATA TransportData
Definition: kdtypes.h:122
KD_NAMESPACE_ENUM NameSpace
Definition: kdtypes.h:116
DEBUG_MEMORY_REQUIREMENTS Memory
Definition: kdtypes.h:107
UCHAR DbgHalScratchAllocated
Definition: kdtypes.h:95
PHYSICAL_ADDRESS Start
Definition: kdtypes.h:24
PHYSICAL_ADDRESS MaxEnd
Definition: kdtypes.h:25
BOOLEAN UseSerialFraming
Definition: kdtypes.h:52
BOOLEAN ValidUSBCoreId
Definition: kdtypes.h:54
#define NTAPI
Definition: typedefs.h:36
void * PVOID
Definition: typedefs.h:50
uint16_t * PWCHAR
Definition: typedefs.h:56
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:458
_In_ WDFIORESREQLIST _In_ ULONG SlotNumber
Definition: wdfresource.h:68
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG BusNumber
Definition: halfuncs.h:160
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG _Out_ PPHYSICAL_ADDRESS TranslatedAddress
Definition: iofuncs.h:2275
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1098
#define MAXIMUM_DEBUG_BARS
Definition: kdtypes.h:60
PVOID(NTAPI * pKdMapPhysicalMemory64)(_In_ PHYSICAL_ADDRESS PhysicalAddress, _In_ ULONG NumberPages, _In_ BOOLEAN FlushCurrentTLB)
Definition: kdtypes.h:149
PVOID(NTAPI * pKdGetAcpiTablePhase0)(_In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock, _In_ ULONG Signature)
Definition: kdtypes.h:140
DEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:21
struct _DEBUG_MEMORY_REQUIREMENTS * PDEBUG_MEMORY_REQUIREMENTS
struct _DEBUG_MEMORY_REQUIREMENTS DEBUG_MEMORY_REQUIREMENTS
NTSTATUS(NTAPI * pKdSetupIntegratedDeviceForDebugging)(_In_opt_ PVOID LoaderBlock, _Inout_ PDEBUG_DEVICE_DESCRIPTOR IntegratedDevice)
Definition: kdtypes.h:194
KD_NAMESPACE_ENUM
Definition: kdtypes.h:33
@ KdNameSpaceAny
Definition: kdtypes.h:36
@ KdNameSpaceNone
Definition: kdtypes.h:37
@ KdNameSpaceMax
Definition: kdtypes.h:38
@ KdNameSpacePCI
Definition: kdtypes.h:34
@ KdNameSpaceACPI
Definition: kdtypes.h:35
struct _DEBUG_DEVICE_DESCRIPTOR * PDEBUG_DEVICE_DESCRIPTOR
NTSTATUS(NTAPI * pKdReleaseIntegratedDeviceForDebugging)(_Inout_ PDEBUG_DEVICE_DESCRIPTOR IntegratedDevice)
Definition: kdtypes.h:199
KD_CALLBACK_ACTION
Definition: kdtypes.h:42
@ KdSkipDeviceAndContinue
Definition: kdtypes.h:44
@ KdSkipDeviceAndStop
Definition: kdtypes.h:46
@ KdConfigureDeviceAndStop
Definition: kdtypes.h:45
@ KdConfigureDeviceAndContinue
Definition: kdtypes.h:43
struct _DEBUG_TRANSPORT_DATA DEBUG_TRANSPORT_DATA
NTSTATUS(NTAPI * pKdReleasePciDeviceForDebugging)(_Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice)
Definition: kdtypes.h:136
VOID(NTAPI * pKdUnmapVirtualAddress)(_In_ PVOID VirtualAddress, _In_ ULONG NumberPages, _In_ BOOLEAN FlushCurrentTLB)
Definition: kdtypes.h:155
NTSTATUS(NTAPI * pKdSetupPciDeviceForDebugging)(_In_opt_ PVOID LoaderBlock, _Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice)
Definition: kdtypes.h:131
ULONG(NTAPI * pKdSetPciDataByOffset)(_In_ ULONG BusNumber, _In_ ULONG SlotNumber, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Offset, _In_ ULONG Length)
Definition: kdtypes.h:180
ULONG(NTAPI * pKdGetPciDataByOffset)(_In_ ULONG BusNumber, _In_ ULONG SlotNumber, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Offset, _In_ ULONG Length)
Definition: kdtypes.h:172
$if(_NTDDK_) typedef struct _DEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:4
* PDEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:21
struct _DEBUG_TRANSPORT_DATA * PDEBUG_TRANSPORT_DATA
NTSTATUS(NTAPI * pKdEnumerateDebuggingDevices)(_In_ PVOID LoaderBlock, _Inout_ PDEBUG_DEVICE_DESCRIPTOR Device, _In_ PDEBUG_DEVICE_FOUND_FUNCTION Callback)
Definition: kdtypes.h:188
KD_CALLBACK_ACTION(NTAPI * PDEBUG_DEVICE_FOUND_FUNCTION)(_Inout_ PDEBUG_DEVICE_DESCRIPTOR Device)
Definition: kdtypes.h:127
enum KD_NAMESPACE_ENUM * PKD_NAMESPACE_ENUM
enum KD_CALLBACK_ACTION * PKD_CALLBACK_ACTION
struct _DEBUG_DEVICE_DESCRIPTOR DEBUG_DEVICE_DESCRIPTOR
VOID(NTAPI * pKdCheckPowerButton)(VOID)
Definition: kdtypes.h:145
unsigned char UCHAR
Definition: xmlstorage.h:181