ReactOS 0.4.15-dev-7924-g5949c20
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
21extern ULONG KdpDbgPrint(const char* Format, ...);
22#define KDDBGPRINT KdpDbgPrint
23#endif
24
25typedef enum
26{
31
32VOID
36 IN ULONG Size);
37
42 IN ULONG Size);
43
47 OUT PULONG PacketLeader);
48
49VOID
52
55KdpPollByte(OUT PUCHAR OutByte);
56
60
64
65#endif /* _KDDLL_H_ */
Definition: bufpool.h:45
unsigned char Byte
Definition: zlib.h:37
VOID NTAPI KdpSendBuffer(IN PVOID Buffer, IN ULONG Size)
Definition: kdserial.c:21
KDP_STATUS NTAPI KdpReceiveByte(OUT PUCHAR OutByte)
Definition: kdcom.c:321
KDP_STATUS NTAPI KdpReceiveBuffer(OUT PVOID Buffer, IN ULONG Size)
Definition: kdserial.c:43
KDP_STATUS NTAPI KdpPollByte(OUT PUCHAR OutByte)
Definition: kdcom.c:299
VOID NTAPI KdpSendByte(IN UCHAR Byte)
Definition: kdcom.c:291
KDP_STATUS
Definition: kddll.h:26
@ KDP_PACKET_TIMEOUT
Definition: kddll.h:28
@ KDP_PACKET_RESEND
Definition: kddll.h:29
@ KDP_PACKET_RECEIVED
Definition: kddll.h:27
KDP_STATUS NTAPI KdpPollBreakIn(VOID)
Definition: kdcom.c:343
KDP_STATUS NTAPI KdpReceivePacketLeader(OUT PULONG PacketLeader)
Definition: kdserial.c:75
PFNDBGPRNT KdpDbgPrint
Definition: kdvm.c:22
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
unsigned char UCHAR
Definition: xmlstorage.h:181