ReactOS 0.4.15-dev-7958-gcd0bb1a
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
42#if (NTDDI_VERSION >= NTDDI_WIN10)
43typedef struct _DEBUG_TRANSPORT_DATA {
46#if (NTDDI_VERSION >= NTDDI_WIN10_RS5)
49#endif
51#endif
52
53#define MAXIMUM_DEBUG_BARS 6
54
55#if (NTDDI_VERSION >= NTDDI_WIN10)
56#define DBG_DEVICE_FLAG_HAL_SCRATCH_ALLOCATED 0x01
57#define DBG_DEVICE_FLAG_BARS_MAPPED 0x02
58#define DBG_DEVICE_FLAG_SCRATCH_ALLOCATED 0x04
59#endif
60#if (NTDDI_VERSION >= NTDDI_WIN10_RS2)
61#define DBG_DEVICE_FLAG_UNCACHED_MEMORY 0x08
62#endif
63#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
64#define DBG_DEVICE_FLAG_SYNTHETIC 0x10
65#endif
66
69#if (NTDDI_VERSION >= NTDDI_VISTA) && (NTDDI_VERSION < NTDDI_WIN8)
71#endif
73#if (NTDDI_VERSION >= NTDDI_WIN8)
75#endif
81#if (NTDDI_VERSION >= NTDDI_WIN8)
82#if (NTDDI_VERSION >= NTDDI_WIN10)
83 union {
84#endif
86#if (NTDDI_VERSION >= NTDDI_WIN10)
87 struct {
91 };
92 };
93#endif
94#endif
96#if (NTDDI_VERSION >= NTDDI_VISTA)
98#endif
101#if (NTDDI_VERSION >= NTDDI_WIN10_19H1)
103#endif
104#if (NTDDI_VERSION >= NTDDI_WIN8)
112#endif
113#if (NTDDI_VERSION >= NTDDI_WIN10)
116#endif
118
119typedef NTSTATUS
121 _In_opt_ PVOID LoaderBlock,
123
124typedef NTSTATUS
127
128typedef PVOID
130 _In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
132
133typedef VOID
135
136#if (NTDDI_VERSION >= NTDDI_VISTA)
137typedef PVOID
140 _In_ ULONG NumberPages,
141 _In_ BOOLEAN FlushCurrentTLB);
142
143typedef VOID
146 _In_ ULONG NumberPages,
147 _In_ BOOLEAN FlushCurrentTLB);
148#else
149typedef PVOID
152 _In_ ULONG NumberPages);
153
154typedef VOID
157 _In_ ULONG NumberPages);
158#endif
159
160typedef ULONG
167
168typedef ULONG
unsigned char BOOLEAN
Type
Definition: Type.h:7
#define VOID
Definition: acefi.h:82
Definition: bufpool.h:45
#define NTSTATUS
Definition: precomp.h:21
static const WCHAR Signature[]
Definition: parser.c:141
#define _In_reads_bytes_(size)
Definition: ms_sal.h:321
#define _Inout_
Definition: ms_sal.h:378
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#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:99
DEBUG_TRANSPORT_DATA TransportData
Definition: kdtypes.h:115
KD_NAMESPACE_ENUM NameSpace
Definition: kdtypes.h:109
DEBUG_MEMORY_REQUIREMENTS Memory
Definition: kdtypes.h:100
UCHAR DbgHalScratchAllocated
Definition: kdtypes.h:88
PHYSICAL_ADDRESS Start
Definition: kdtypes.h:24
PHYSICAL_ADDRESS MaxEnd
Definition: kdtypes.h:25
BOOLEAN UseSerialFraming
Definition: kdtypes.h:45
BOOLEAN ValidUSBCoreId
Definition: kdtypes.h:47
#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_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
_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:53
PVOID(NTAPI * pKdMapPhysicalMemory64)(_In_ PHYSICAL_ADDRESS PhysicalAddress, _In_ ULONG NumberPages, _In_ BOOLEAN FlushCurrentTLB)
Definition: kdtypes.h:138
PVOID(NTAPI * pKdGetAcpiTablePhase0)(_In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock, _In_ ULONG Signature)
Definition: kdtypes.h:129
DEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:21
struct _DEBUG_MEMORY_REQUIREMENTS * PDEBUG_MEMORY_REQUIREMENTS
struct _DEBUG_MEMORY_REQUIREMENTS DEBUG_MEMORY_REQUIREMENTS
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
struct _DEBUG_TRANSPORT_DATA DEBUG_TRANSPORT_DATA
NTSTATUS(NTAPI * pKdReleasePciDeviceForDebugging)(_Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice)
Definition: kdtypes.h:125
VOID(NTAPI * pKdUnmapVirtualAddress)(_In_ PVOID VirtualAddress, _In_ ULONG NumberPages, _In_ BOOLEAN FlushCurrentTLB)
Definition: kdtypes.h:144
NTSTATUS(NTAPI * pKdSetupPciDeviceForDebugging)(_In_opt_ PVOID LoaderBlock, _Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice)
Definition: kdtypes.h:120
ULONG(NTAPI * pKdSetPciDataByOffset)(_In_ ULONG BusNumber, _In_ ULONG SlotNumber, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Offset, _In_ ULONG Length)
Definition: kdtypes.h:169
ULONG(NTAPI * pKdGetPciDataByOffset)(_In_ ULONG BusNumber, _In_ ULONG SlotNumber, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Offset, _In_ ULONG Length)
Definition: kdtypes.h:161
$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
enum KD_NAMESPACE_ENUM * PKD_NAMESPACE_ENUM
struct _DEBUG_DEVICE_DESCRIPTOR DEBUG_DEVICE_DESCRIPTOR
VOID(NTAPI * pKdCheckPowerButton)(VOID)
Definition: kdtypes.h:134
unsigned char UCHAR
Definition: xmlstorage.h:181