ReactOS  0.4.13-dev-563-g0561610
kddll.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: GPL, see COPYING in the top level directory
3  * PROJECT: ReactOS kernel
4  * FILE: drivers/base/kddll/kddll.h
5  * PURPOSE: Base definitions for the kernel debugger.
6  * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
7  */
8 
9 #ifndef _KDDLL_H_
10 #define _KDDLL_H_
11 
12 #define NOEXTAPI
13 #include <ntifs.h>
14 #include <windbgkd.h>
15 
16 // #define KDDEBUG /* uncomment to enable debugging this dll */
17 
18 #ifndef KDDEBUG
19 #define KDDBGPRINT(...)
20 #else
21 extern ULONG KdpDbgPrint(const char* Format, ...);
22 #define KDDBGPRINT KdpDbgPrint
23 #endif
24 
25 typedef enum
26 {
30 } KDP_STATUS;
31 
32 VOID
33 NTAPI
35  IN PVOID Buffer,
36  IN ULONG Size);
37 
39 NTAPI
42  IN ULONG Size);
43 
45 NTAPI
47  OUT PULONG PacketLeader);
48 
49 VOID
50 NTAPI
52 
54 NTAPI
55 KdpPollByte(OUT PUCHAR OutByte);
56 
58 NTAPI
59 KdpReceiveByte(OUT PUCHAR OutByte);
60 
62 NTAPI
64 
65 #endif /* _KDDLL_H_ */
#define IN
Definition: typedefs.h:38
KDP_STATUS NTAPI KdpPollByte(OUT PUCHAR OutByte)
Definition: kdcom.c:288
VOID NTAPI KdpSendBuffer(IN PVOID Buffer, IN ULONG Size)
Definition: kdserial.c:21
unsigned char Byte
Definition: zconf.h:391
KDP_STATUS
Definition: kddll.h:25
unsigned char * PUCHAR
Definition: retypes.h:3
KDP_STATUS NTAPI KdpPollBreakIn(VOID)
Definition: kdcom.c:332
KDP_STATUS NTAPI KdpReceiveBuffer(OUT PVOID Buffer, IN ULONG Size)
Definition: kdserial.c:43
KDP_STATUS NTAPI KdpReceivePacketLeader(OUT PULONG PacketLeader)
Definition: kdserial.c:75
PFNDBGPRNT KdpDbgPrint
Definition: kdvm.c:22
KDP_STATUS NTAPI KdpReceiveByte(OUT PUCHAR OutByte)
Definition: kdcom.c:310
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
Definition: bufpool.h:45
unsigned char UCHAR
Definition: xmlstorage.h:181
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
VOID NTAPI KdpSendByte(IN UCHAR Byte)
Definition: kdcom.c:280
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:39
unsigned int ULONG
Definition: retypes.h:1