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@ewactos.org)
23 #include <ioaccess.h> /* port intrinsics */
25 typedef UCHAR BYTE
, *PBYTE
;
27 typedef ULONG (*PFNDBGPRNT
)(const char *Format
, ...);
28 extern PFNDBGPRNT KdpDbgPrint
;
32 KDP_PACKET_RECEIVED
= 0,
33 KDP_PACKET_TIMEOUT
= 1,
38 #define KDDBGPRINT(...)
40 #define KDDBGPRINT KdpDbgPrint
57 KdpReceivePacketLeader(
58 OUT PULONG PacketLeader
);
62 KdpSendByte(IN BYTE Byte
);
66 KdpPollByte(OUT PBYTE OutByte
);
70 KdpReceiveByte(OUT PBYTE OutByte
);
80 KdDebuggerInitialize0(
81 IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL
);
85 #endif /* !_KDDLL_H_ */