update for HEAD-2003050101
[reactos.git] / include / ddk / kdfuncs.h
1 #ifndef __INCLUDE_DDK_KDFUNCS_H
2 #define __INCLUDE_DDK_KDFUNCS_H
3 /* $Id$ */
4
5 /* --- NTOSKRNL.EXE --- */
6 #if defined(__NTOSKRNL__)
7 extern BOOLEAN KdDebuggerEnabled __declspec(dllexport);
8 extern BOOLEAN KdDebuggerNotPresent __declspec(dllexport);
9 #else
10 extern BOOLEAN KdDebuggerEnabled __declspec(dllimport);
11 extern BOOLEAN KdDebuggerNotPresent __declspec(dllimport);
12 #endif
13
14 BYTE
15 STDCALL
16 KdPollBreakIn (
17         VOID
18         );
19
20 BOOLEAN
21 STDCALL
22 KdPortInitialize (
23         PKD_PORT_INFORMATION    PortInformation,
24         DWORD   Unknown1,
25         DWORD   Unknown2
26         );
27
28 BOOLEAN
29 STDCALL
30 KdPortInitializeEx (
31         PKD_PORT_INFORMATION    PortInformation,
32         DWORD   Unknown1,
33         DWORD   Unknown2
34         );
35
36 BOOLEAN
37 STDCALL
38 KdPortGetByte (
39         PUCHAR  ByteRecieved
40         );
41
42 BOOLEAN
43 STDCALL
44 KdPortGetByteEx (
45         PKD_PORT_INFORMATION    PortInformation,
46         PUCHAR  ByteRecieved
47         );
48
49 BOOLEAN
50 STDCALL
51 KdPortPollByte (
52         PUCHAR  ByteRecieved
53         );
54
55 BOOLEAN
56 STDCALL
57 KdPortPollByteEx (
58         PKD_PORT_INFORMATION    PortInformation,
59         PUCHAR  ByteRecieved
60         );
61
62 VOID
63 STDCALL
64 KdPortPutByte (
65         UCHAR ByteToSend
66         );
67
68 VOID
69 STDCALL
70 KdPortPutByteEx (
71         PKD_PORT_INFORMATION    PortInformation,
72         UCHAR ByteToSend
73         );
74
75 VOID
76 STDCALL
77 KdPortRestore (
78         VOID
79         );
80
81 VOID
82 STDCALL
83 KdPortSave (
84         VOID
85         );
86
87 BOOLEAN
88 STDCALL
89 KdPortDisableInterrupts(
90   VOID
91   );
92
93 BOOLEAN
94 STDCALL
95 KdPortEnableInterrupts(
96   VOID
97   );
98
99 #endif /* __INCLUDE_DDK_KDFUNCS_H */