Something went wrong. Try again.
Reactos
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566/* * COPYRIGHT: GPL, see COPYING in the top level directory * PROJECT: ReactOS kernel * FILE: drivers/base/kddll/kddll.h * PURPOSE: Base definitions for the kernel debugger. * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org) */
#ifndef _KDDLL_H_#define _KDDLL_H_
#define NOEXTAPI#include <ntifs.h>#include <windbgkd.h>
// #define KDDEBUG /* uncomment to enable debugging this dll */
#ifndef KDDEBUG#define KDDBGPRINT(...)#elseextern ULONG KdpDbgPrint(const char* Format, ...);#define KDDBGPRINT KdpDbgPrint#endif
typedef enum{ KDP_PACKET_RECEIVED = 0, KDP_PACKET_TIMEOUT = 1, KDP_PACKET_RESEND = 2} KDP_STATUS;
VOIDNTAPIKdpSendBuffer( IN PVOID Buffer, IN ULONG Size);
KDP_STATUSNTAPIKdpReceiveBuffer( OUT PVOID Buffer, IN ULONG Size);
KDP_STATUSNTAPIKdpReceivePacketLeader( OUT PULONG PacketLeader);
VOIDNTAPIKdpSendByte(IN UCHAR Byte);
KDP_STATUSNTAPIKdpPollByte(OUT PUCHAR OutByte);
KDP_STATUSNTAPIKdpReceiveByte(OUT PUCHAR OutByte);
KDP_STATUSNTAPIKdpPollBreakIn(VOID);
#endif /* _KDDLL_H_ */