ReactOS 0.4.16-dev-136-g52192f1
kdtypes.h File Reference

Go to the source code of this file.

Classes

struct  _DEBUG_MEMORY_REQUIREMENTS
 
struct  _DEBUG_TRANSPORT_DATA
 
struct  _DEBUG_DEVICE_DESCRIPTOR
 

Macros

#define MAXIMUM_DEBUG_BARS   6
 
#define DBG_DEVICE_FLAG_HAL_SCRATCH_ALLOCATED   0x01
 
#define DBG_DEVICE_FLAG_BARS_MAPPED   0x02
 
#define DBG_DEVICE_FLAG_SCRATCH_ALLOCATED   0x04
 
#define DBG_DEVICE_FLAG_UNCACHED_MEMORY   0x08
 
#define DBG_DEVICE_FLAG_SYNTHETIC   0x10
 

Typedefs

typedef struct _DEBUG_MEMORY_REQUIREMENTS DEBUG_MEMORY_REQUIREMENTS
 
typedef struct _DEBUG_MEMORY_REQUIREMENTSPDEBUG_MEMORY_REQUIREMENTS
 
typedef enum KD_NAMESPACE_ENUMPKD_NAMESPACE_ENUM
 
typedef struct _DEBUG_TRANSPORT_DATA DEBUG_TRANSPORT_DATA
 
typedef struct _DEBUG_TRANSPORT_DATAPDEBUG_TRANSPORT_DATA
 
typedef struct _DEBUG_DEVICE_DESCRIPTOR DEBUG_DEVICE_DESCRIPTOR
 
typedef struct _DEBUG_DEVICE_DESCRIPTORPDEBUG_DEVICE_DESCRIPTOR
 
typedef NTSTATUS(NTAPIpKdSetupPciDeviceForDebugging) (_In_opt_ PVOID LoaderBlock, _Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice)
 
typedef NTSTATUS(NTAPIpKdReleasePciDeviceForDebugging) (_Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice)
 
typedef PVOID(NTAPIpKdGetAcpiTablePhase0) (_In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock, _In_ ULONG Signature)
 
typedef VOID(NTAPIpKdCheckPowerButton) (VOID)
 
typedef PVOID(NTAPIpKdMapPhysicalMemory64) (_In_ PHYSICAL_ADDRESS PhysicalAddress, _In_ ULONG NumberPages, _In_ BOOLEAN FlushCurrentTLB)
 
typedef VOID(NTAPIpKdUnmapVirtualAddress) (_In_ PVOID VirtualAddress, _In_ ULONG NumberPages, _In_ BOOLEAN FlushCurrentTLB)
 
typedef ULONG(NTAPIpKdGetPciDataByOffset) (_In_ ULONG BusNumber, _In_ ULONG SlotNumber, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Offset, _In_ ULONG Length)
 
typedef ULONG(NTAPIpKdSetPciDataByOffset) (_In_ ULONG BusNumber, _In_ ULONG SlotNumber, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Offset, _In_ ULONG Length)
 

Enumerations

enum  KD_NAMESPACE_ENUM {
  KdNameSpacePCI , KdNameSpaceACPI , KdNameSpaceAny , KdNameSpaceNone ,
  KdNameSpaceMax
}
 

Functions

 $if (_NTDDK_) typedef struct _DEBUG_DEVICE_ADDRESS
 

Variables

 DEBUG_DEVICE_ADDRESS
 
PDEBUG_DEVICE_ADDRESS
 

Macro Definition Documentation

◆ DBG_DEVICE_FLAG_BARS_MAPPED

#define DBG_DEVICE_FLAG_BARS_MAPPED   0x02

Definition at line 57 of file kdtypes.h.

◆ DBG_DEVICE_FLAG_HAL_SCRATCH_ALLOCATED

#define DBG_DEVICE_FLAG_HAL_SCRATCH_ALLOCATED   0x01

Definition at line 56 of file kdtypes.h.

◆ DBG_DEVICE_FLAG_SCRATCH_ALLOCATED

#define DBG_DEVICE_FLAG_SCRATCH_ALLOCATED   0x04

Definition at line 58 of file kdtypes.h.

◆ DBG_DEVICE_FLAG_SYNTHETIC

#define DBG_DEVICE_FLAG_SYNTHETIC   0x10

Definition at line 64 of file kdtypes.h.

◆ DBG_DEVICE_FLAG_UNCACHED_MEMORY

#define DBG_DEVICE_FLAG_UNCACHED_MEMORY   0x08

Definition at line 61 of file kdtypes.h.

◆ MAXIMUM_DEBUG_BARS

#define MAXIMUM_DEBUG_BARS   6

Definition at line 53 of file kdtypes.h.

Typedef Documentation

◆ DEBUG_DEVICE_DESCRIPTOR

◆ DEBUG_MEMORY_REQUIREMENTS

◆ DEBUG_TRANSPORT_DATA

◆ PDEBUG_DEVICE_DESCRIPTOR

◆ PDEBUG_MEMORY_REQUIREMENTS

◆ PDEBUG_TRANSPORT_DATA

◆ PKD_NAMESPACE_ENUM

◆ pKdCheckPowerButton

typedef VOID(NTAPI * pKdCheckPowerButton) (VOID)

Definition at line 133 of file kdtypes.h.

◆ pKdGetAcpiTablePhase0

typedef PVOID(NTAPI * pKdGetAcpiTablePhase0) (_In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock, _In_ ULONG Signature)

Definition at line 128 of file kdtypes.h.

◆ pKdGetPciDataByOffset

Definition at line 160 of file kdtypes.h.

◆ pKdMapPhysicalMemory64

typedef PVOID(NTAPI * pKdMapPhysicalMemory64) (_In_ PHYSICAL_ADDRESS PhysicalAddress, _In_ ULONG NumberPages, _In_ BOOLEAN FlushCurrentTLB)

Definition at line 137 of file kdtypes.h.

◆ pKdReleasePciDeviceForDebugging

typedef NTSTATUS(NTAPI * pKdReleasePciDeviceForDebugging) (_Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice)

Definition at line 124 of file kdtypes.h.

◆ pKdSetPciDataByOffset

Definition at line 168 of file kdtypes.h.

◆ pKdSetupPciDeviceForDebugging

typedef NTSTATUS(NTAPI * pKdSetupPciDeviceForDebugging) (_In_opt_ PVOID LoaderBlock, _Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice)

Definition at line 119 of file kdtypes.h.

◆ pKdUnmapVirtualAddress

typedef VOID(NTAPI * pKdUnmapVirtualAddress) (_In_ PVOID VirtualAddress, _In_ ULONG NumberPages, _In_ BOOLEAN FlushCurrentTLB)

Definition at line 143 of file kdtypes.h.

Enumeration Type Documentation

◆ KD_NAMESPACE_ENUM

Enumerator
KdNameSpacePCI 
KdNameSpaceACPI 
KdNameSpaceAny 
KdNameSpaceNone 
KdNameSpaceMax 

Definition at line 33 of file kdtypes.h.

33 {
38 KdNameSpaceMax, /* Maximum namespace enumerator */
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
enum KD_NAMESPACE_ENUM * PKD_NAMESPACE_ENUM

Function Documentation

◆ $if()

$if ( _NTDDK_  )

Definition at line 4 of file kdtypes.h.

5 {
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
unsigned char BOOLEAN
Type
Definition: Type.h:7
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG _Out_ PPHYSICAL_ADDRESS TranslatedAddress
Definition: iofuncs.h:2275
DEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:21
* PDEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:21
unsigned char UCHAR
Definition: xmlstorage.h:181

Variable Documentation

◆ DEBUG_DEVICE_ADDRESS

DEBUG_DEVICE_ADDRESS

Definition at line 21 of file kdtypes.h.

◆ PDEBUG_DEVICE_ADDRESS

* PDEBUG_DEVICE_ADDRESS

Definition at line 21 of file kdtypes.h.

Referenced by HalpConfigureDebuggingDevice(), and HalpReleasePciDeviceForDebugging().