ReactOS  0.4.15-dev-484-g89e716a7
kdrosdbg.c
Go to the documentation of this file.
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  */
29 NTAPI
32 {
34 }
35 
36 /*
37  * @unimplemented
38  */
40 NTAPI
43 {
45 }
46 
48 NTAPI
50 {
51  return STATUS_SUCCESS;
52 }
53 
55 NTAPI
57 {
58  return STATUS_SUCCESS;
59 }
60 
61 /*
62  * @implemented
63  */
65 NTAPI
67  IN BOOLEAN SleepTransition)
68 {
69  /* Nothing to do on COM ports */
70  return STATUS_SUCCESS;
71 }
72 
73 /*
74  * @implemented
75  */
77 NTAPI
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
91  IN ULONG PacketType,
92  IN PSTRING MessageHeader,
93  IN PSTRING MessageData,
95 {
97  return;
98 }
99 
100 /*
101  * @unimplemented
102  */
103 KDSTATUS
104 NTAPI
106  IN ULONG PacketType,
107  OUT PSTRING MessageHeader,
108  OUT PSTRING MessageData,
111 {
113  return 0;
114 }
115 
116 /* EOF */
#define IN
Definition: typedefs.h:39
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:225
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
NTSTATUS NTAPI KdDebuggerInitialize0(IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
Definition: kdrosdbg.c:30
unsigned char BOOLEAN
VOID NTAPI KdSendPacket(IN ULONG PacketType, IN PSTRING MessageHeader, IN PSTRING MessageData, IN OUT PKD_CONTEXT Context)
Definition: kdrosdbg.c:90
NTSTATUS NTAPI KdSave(IN BOOLEAN SleepTransition)
Definition: kdrosdbg.c:66
NTSTATUS NTAPI KdRestore(IN BOOLEAN SleepTransition)
Definition: kdrosdbg.c:78
NTSTATUS NTAPI KdD3Transition(VOID)
Definition: kdrosdbg.c:56
ULONG KDSTATUS
Definition: kddll.h:4
NTSTATUS NTAPI KdD0Transition(VOID)
Definition: kdrosdbg.c:49
unsigned int * PULONG
Definition: retypes.h:1
NTSTATUS NTAPI KdDebuggerInitialize1(IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
Definition: kdrosdbg.c:41
KDSTATUS NTAPI KdReceivePacket(IN ULONG PacketType, OUT PSTRING MessageHeader, OUT PSTRING MessageData, OUT PULONG DataLength, IN OUT PKD_CONTEXT Context)
Definition: kdrosdbg.c:105
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
#define UNIMPLEMENTED
Definition: debug.h:115
_Must_inspect_result_ _Out_writes_to_ DataLength PHIDP_DATA _Inout_ PULONG DataLength
Definition: hidpi.h:333
return STATUS_SUCCESS
Definition: btrfs.c:3014
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68