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