xref: /reactos/drivers/base/kdrosdbg/kdrosdbg.c (revision 8a978a17)
1 /*
2  * COPYRIGHT:       See COPYING in the top level directory
3  * PROJECT:         ReactOS kernel
4  * FILE:            drivers/base/kdcom/kdbg.c
5  * PURPOSE:         Serial i/o functions for the kernel debugger.
6  * PROGRAMMER:      Alex Ionescu
7  *                  Herv� Poussineau
8  */
9 
10 /* INCLUDES *****************************************************************/
11 
12 #define NOEXTAPI
13 #include <ntifs.h>
14 #include <halfuncs.h>
15 #include <stdio.h>
16 #include <arc/arc.h>
17 #include <windbgkd.h>
18 #include <kddll.h>
19 
20 #define NDEBUG
21 #include <debug.h>
22 
23 /* FUNCTIONS ****************************************************************/
24 
25 /*
26  * @unimplemented
27  */
28 NTSTATUS
29 NTAPI
30 KdDebuggerInitialize0(
31     IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
32 {
33     return STATUS_NOT_IMPLEMENTED;
34 }
35 
36 /*
37  * @unimplemented
38  */
39 NTSTATUS
40 NTAPI
41 KdDebuggerInitialize1(
42     IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
43 {
44     return STATUS_NOT_IMPLEMENTED;
45 }
46 
47 NTSTATUS
48 NTAPI
49 KdD0Transition(VOID)
50 {
51     return STATUS_SUCCESS;
52 }
53 
54 NTSTATUS
55 NTAPI
56 KdD3Transition(VOID)
57 {
58     return STATUS_SUCCESS;
59 }
60 
61 /*
62  * @implemented
63  */
64 NTSTATUS
65 NTAPI
66 KdSave(
67     IN BOOLEAN SleepTransition)
68 {
69     /* Nothing to do on COM ports */
70     return STATUS_SUCCESS;
71 }
72 
73 /*
74  * @implemented
75  */
76 NTSTATUS
77 NTAPI
78 KdRestore(
79     IN BOOLEAN SleepTransition)
80 {
81     /* Nothing to do on COM ports */
82     return STATUS_SUCCESS;
83 }
84 
85 /*
86  * @unimplemented
87  */
88 VOID
89 NTAPI
90 KdSendPacket(
91     IN ULONG PacketType,
92     IN PSTRING MessageHeader,
93     IN PSTRING MessageData,
94     IN OUT PKD_CONTEXT Context)
95 {
96     UNIMPLEMENTED;
97     return;
98 }
99 
100 /*
101  * @unimplemented
102  */
103 KDSTATUS
104 NTAPI
105 KdReceivePacket(
106     IN ULONG PacketType,
107     OUT PSTRING MessageHeader,
108     OUT PSTRING MessageData,
109     OUT PULONG DataLength,
110     IN OUT PKD_CONTEXT Context)
111 {
112     UNIMPLEMENTED;
113     return 0;
114 }
115 
116 /* EOF */
117