Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenkddll.h
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: GPL, see COPYING in the top level directory 00003 * PROJECT: ReactOS kernel 00004 * FILE: drivers/base/kddll/kddll.h 00005 * PURPOSE: Base definitions for the kernel debugger. 00006 * PROGRAMMER: Timo Kreuzer (timo.kreuzer@ewactos.org) 00007 */ 00008 00009 #pragma once 00010 00011 //#define KDDEBUG /* uncomment to enable debugging this dll */ 00012 00013 #define NOEXTAPI 00014 #include <ntifs.h> 00015 #define NDEBUG 00016 #include <halfuncs.h> 00017 #include <debug.h> 00018 #include "arc/arc.h" 00019 #include "windbgkd.h" 00020 00021 #include <wdbgexts.h> 00022 #include <ioaccess.h> /* port intrinsics */ 00023 00024 long atol(const char *str); 00025 00026 typedef UCHAR BYTE, *PBYTE; 00027 00028 typedef ULONG (*PFNDBGPRNT)(const char *Format, ...); 00029 extern PFNDBGPRNT KdpDbgPrint; 00030 extern BOOLEAN KdpPhase1Complete; 00031 extern ULONG KdpStallScaleFactor; 00032 00033 typedef enum 00034 { 00035 KDP_PACKET_RECEIVED = 0, 00036 KDP_PACKET_TIMEOUT = 1, 00037 KDP_PACKET_RESEND = 2 00038 } KDP_STATUS; 00039 00040 #ifndef KDDEBUG 00041 #define KDDBGPRINT(...) 00042 #else 00043 #define KDDBGPRINT KdpDbgPrint 00044 #endif 00045 00046 VOID 00047 NTAPI 00048 KdpSendBuffer( 00049 IN PVOID Buffer, 00050 IN ULONG Size); 00051 00052 KDP_STATUS 00053 NTAPI 00054 KdpReceiveBuffer( 00055 OUT PVOID Buffer, 00056 IN ULONG Size); 00057 00058 KDP_STATUS 00059 NTAPI 00060 KdpReceivePacketLeader( 00061 OUT PULONG PacketLeader); 00062 00063 VOID 00064 NTAPI 00065 KdpSendByte(IN BYTE Byte); 00066 00067 KDP_STATUS 00068 NTAPI 00069 KdpPollByte(OUT PBYTE OutByte); 00070 00071 KDP_STATUS 00072 NTAPI 00073 KdpReceiveByte(OUT PBYTE OutByte); 00074 00075 KDP_STATUS 00076 NTAPI 00077 KdpPollBreakIn(VOID); 00078 00079 00080 #if 0 00081 NTSTATUS 00082 NTAPI 00083 KdDebuggerInitialize0( 00084 IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL); 00085 #endif Generated on Sun May 27 2012 04:27:13 for ReactOS by
1.7.6.1
|