ReactOS  0.4.15-dev-3165-gdf6fff7
kdtypes.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Kernel Debugger Types *
3  ******************************************************************************/
5 typedef struct _DEBUG_DEVICE_ADDRESS {
6  UCHAR Type;
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
20  ULONG Length;
22 
31 
32 #if (NTDDI_VERSION >= NTDDI_WIN8)
33 typedef enum {
38  KdNameSpaceMax, /* Maximum namespace enumerator */
40 #endif
41 
42 #if (NTDDI_VERSION >= NTDDI_WIN10)
43 typedef 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 
67 typedef struct _DEBUG_DEVICE_DESCRIPTOR {
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 
119 typedef NTSTATUS
121  _In_opt_ PVOID LoaderBlock,
123 
124 typedef NTSTATUS
127 
128 typedef PVOID
130  _In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
132 
133 typedef VOID
135 
136 #if (NTDDI_VERSION >= NTDDI_VISTA)
137 typedef PVOID
140  _In_ ULONG NumberPages,
141  _In_ BOOLEAN FlushCurrentTLB);
142 
143 typedef VOID
146  _In_ ULONG NumberPages,
147  _In_ BOOLEAN FlushCurrentTLB);
148 #else
149 typedef PVOID
152  _In_ ULONG NumberPages);
153 
154 typedef VOID
157  _In_ ULONG NumberPages);
158 #endif
159 
160 typedef ULONG
165  _In_ ULONG Offset,
166  _In_ ULONG Length);
167 
168 typedef ULONG
173  _In_ ULONG Offset,
174  _In_ ULONG Length);
175 $endif (_NTDDK_)
_In_ WDFIORESREQLIST _In_ ULONG SlotNumber
Definition: wdfresource.h:65
struct _DEBUG_TRANSPORT_DATA DEBUG_TRANSPORT_DATA
BOOLEAN ValidUSBCoreId
Definition: kdtypes.h:47
DEBUG_MEMORY_REQUIREMENTS Memory
Definition: kdtypes.h:100
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define _In_opt_
Definition: ms_sal.h:309
#define _Inout_
Definition: ms_sal.h:378
VOID(NTAPI * pKdCheckPowerButton)(VOID)
Definition: kdtypes.h:134
IN BOOLEAN OUT PSTR Buffer
Definition: progress.h:34
KD_NAMESPACE_ENUM
Definition: kdtypes.h:33
unsigned char * PUCHAR
Definition: retypes.h:3
UCHAR DbgHalScratchAllocated
Definition: kdtypes.h:88
DEBUG_TRANSPORT_DATA TransportData
Definition: kdtypes.h:115
uint16_t * PWCHAR
Definition: typedefs.h:56
BOOLEAN UseSerialFraming
Definition: kdtypes.h:45
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG _Out_ PPHYSICAL_ADDRESS TranslatedAddress
Definition: iofuncs.h:2272
struct _DEBUG_DEVICE_DESCRIPTOR * PDEBUG_DEVICE_DESCRIPTOR
$if(_NTDDK_) typedef struct _DEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:4
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
struct _DEBUG_MEMORY_REQUIREMENTS DEBUG_MEMORY_REQUIREMENTS
struct _DEBUG_TRANSPORT_DATA * PDEBUG_TRANSPORT_DATA
unsigned char BOOLEAN
#define _In_
Definition: ms_sal.h:308
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
void * PVOID
Definition: retypes.h:9
* PDEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:21
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG BusNumber
Definition: halfuncs.h:156
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
PVOID(NTAPI * pKdMapPhysicalMemory64)(_In_ PHYSICAL_ADDRESS PhysicalAddress, _In_ ULONG NumberPages, _In_ BOOLEAN FlushCurrentTLB)
Definition: kdtypes.h:138
Type
Definition: Type.h:6
DEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:21
#define MAXIMUM_DEBUG_BARS
Definition: kdtypes.h:53
DEBUG_DEVICE_ADDRESS BaseAddress[MAXIMUM_DEBUG_BARS]
Definition: kdtypes.h:99
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1098
unsigned char UCHAR
Definition: xmlstorage.h:181
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
#define NTSTATUS
Definition: precomp.h:20
#define VOID
Definition: acefi.h:82
struct _DEBUG_DEVICE_DESCRIPTOR DEBUG_DEVICE_DESCRIPTOR
PHYSICAL_ADDRESS MaxEnd
Definition: kdtypes.h:25
PHYSICAL_ADDRESS Start
Definition: kdtypes.h:24
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
NTSTATUS(NTAPI * pKdReleasePciDeviceForDebugging)(_Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice)
Definition: kdtypes.h:125
unsigned short USHORT
Definition: pedump.c:61
KD_NAMESPACE_ENUM NameSpace
Definition: kdtypes.h:109
struct _DEBUG_MEMORY_REQUIREMENTS * PDEBUG_MEMORY_REQUIREMENTS
unsigned int ULONG
Definition: retypes.h:1
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
enum KD_NAMESPACE_ENUM * PKD_NAMESPACE_ENUM
PVOID(NTAPI * pKdGetAcpiTablePhase0)(_In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock, _In_ ULONG Signature)
Definition: kdtypes.h:129
static const WCHAR Signature[]
Definition: parser.c:141
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _NTDDK_
#define _In_reads_bytes_(size)
Definition: ms_sal.h:321