-sync rsaenh_winetest with wine 1.1.32
[reactos.git] / reactos / ntoskrnl / kd64 / amd64 / kdsup.c
1 /*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: ntoskrnl/kd64/amd64/kdsup.c
5 * PURPOSE: KD support routines for AMD64
6 * PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
7 */
8
9 /* INCLUDES *****************************************************************/
10
11 #include <ntoskrnl.h>
12 #define NDEBUG
13 #include <debug.h>
14
15 #undef UNIMPLEMENTED
16 #define UNIMPLEMENTED KdpDprintf("%s is unimplemented\n", __FUNCTION__)
17
18 /* FUNCTIONS *****************************************************************/
19
20 VOID
21 NTAPI
22 KdpGetStateChange(IN PDBGKD_MANIPULATE_STATE64 State,
23 IN PCONTEXT Context)
24 {
25 UNIMPLEMENTED;
26 while (TRUE);
27 }
28
29 VOID
30 NTAPI
31 KdpSetContextState(IN PDBGKD_ANY_WAIT_STATE_CHANGE WaitStateChange,
32 IN PCONTEXT Context)
33 {
34 UNIMPLEMENTED;
35 while (TRUE);
36 }
37
38 VOID
39 NTAPI
40 KdpSysGetVersion(IN PDBGKD_GET_VERSION64 Version)
41 {
42 UNIMPLEMENTED;
43 while (TRUE);
44 }
45
46 NTSTATUS
47 NTAPI
48 KdpSysReadMsr(IN ULONG Msr,
49 OUT PLARGE_INTEGER MsrValue)
50 {
51 UNIMPLEMENTED;
52 while (TRUE);
53 return STATUS_UNSUCCESSFUL;
54 }
55
56 NTSTATUS
57 NTAPI
58 KdpSysWriteMsr(IN ULONG Msr,
59 IN PLARGE_INTEGER MsrValue)
60 {
61 UNIMPLEMENTED;
62 while (TRUE);
63 return STATUS_UNSUCCESSFUL;
64 }
65
66 NTSTATUS
67 NTAPI
68 KdpSysReadBusData(IN ULONG BusDataType,
69 IN ULONG BusNumber,
70 IN ULONG SlotNumber,
71 IN ULONG Offset,
72 IN PVOID Buffer,
73 IN ULONG Length,
74 OUT PULONG ActualLength)
75 {
76 UNIMPLEMENTED;
77 while (TRUE);
78 return STATUS_UNSUCCESSFUL;
79 }
80
81 NTSTATUS
82 NTAPI
83 KdpSysWriteBusData(IN ULONG BusDataType,
84 IN ULONG BusNumber,
85 IN ULONG SlotNumber,
86 IN ULONG Offset,
87 IN PVOID Buffer,
88 IN ULONG Length,
89 OUT PULONG ActualLength)
90 {
91 UNIMPLEMENTED;
92 while (TRUE);
93 return STATUS_UNSUCCESSFUL;
94 }
95
96 NTSTATUS
97 NTAPI
98 KdpSysReadControlSpace(IN ULONG Processor,
99 IN ULONG64 BaseAddress,
100 IN PVOID Buffer,
101 IN ULONG Length,
102 OUT PULONG ActualLength)
103 {
104 UNIMPLEMENTED;
105 while (TRUE);
106 return STATUS_UNSUCCESSFUL;
107 }
108
109 NTSTATUS
110 NTAPI
111 KdpSysWriteControlSpace(IN ULONG Processor,
112 IN ULONG64 BaseAddress,
113 IN PVOID Buffer,
114 IN ULONG Length,
115 OUT PULONG ActualLength)
116 {
117 UNIMPLEMENTED;
118 while (TRUE);
119 return STATUS_UNSUCCESSFUL;
120 }
121
122 NTSTATUS
123 NTAPI
124 KdpSysReadIoSpace(IN ULONG InterfaceType,
125 IN ULONG BusNumber,
126 IN ULONG AddressSpace,
127 IN ULONG64 IoAddress,
128 IN PVOID DataValue,
129 IN ULONG DataSize,
130 OUT PULONG ActualDataSize)
131 {
132 UNIMPLEMENTED;
133 while (TRUE);
134 return STATUS_UNSUCCESSFUL;
135 }
136
137 NTSTATUS
138 NTAPI
139 KdpSysWriteIoSpace(IN ULONG InterfaceType,
140 IN ULONG BusNumber,
141 IN ULONG AddressSpace,
142 IN ULONG64 IoAddress,
143 IN PVOID DataValue,
144 IN ULONG DataSize,
145 OUT PULONG ActualDataSize)
146 {
147 UNIMPLEMENTED;
148 while (TRUE);
149 return STATUS_UNSUCCESSFUL;
150 }
151
152 NTSTATUS
153 NTAPI
154 KdpSysCheckLowMemory(IN ULONG Flags)
155 {
156 UNIMPLEMENTED;
157 while (TRUE);
158 return STATUS_UNSUCCESSFUL;
159 }