ReactOS  0.4.15-dev-3297-g037c744
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 134 of file kdtypes.h.

◆ pKdGetAcpiTablePhase0

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

Definition at line 129 of file kdtypes.h.

◆ pKdGetPciDataByOffset

Definition at line 161 of file kdtypes.h.

◆ pKdMapPhysicalMemory64

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

Definition at line 138 of file kdtypes.h.

◆ pKdReleasePciDeviceForDebugging

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

Definition at line 125 of file kdtypes.h.

◆ pKdSetPciDataByOffset

Definition at line 169 of file kdtypes.h.

◆ pKdSetupPciDeviceForDebugging

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

Definition at line 120 of file kdtypes.h.

◆ pKdUnmapVirtualAddress

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

Definition at line 144 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
enum KD_NAMESPACE_ENUM * PKD_NAMESPACE_ENUM

Function Documentation

◆ $if()

$if ( _NTDDK_  )

Definition at line 4 of file kdtypes.h.

5  {
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;
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
unsigned char * PUCHAR
Definition: retypes.h:3
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG _Out_ PPHYSICAL_ADDRESS TranslatedAddress
Definition: iofuncs.h:2272
unsigned char BOOLEAN
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
* PDEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:21
Type
Definition: Type.h:6
DEBUG_DEVICE_ADDRESS
Definition: kdtypes.h:21
unsigned char UCHAR
Definition: xmlstorage.h:181
unsigned int ULONG
Definition: retypes.h:1

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.