1 /*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: ntoskrnl/kd64/arm/kdarm.c
5 * PURPOSE: KD support routines for ARM
6 * PROGRAMMERS: ReactOS Portable Systems Group
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
KdpGetStateChange(IN PDBGKD_MANIPULATE_STATE64 State,IN PCONTEXT Context)22 KdpGetStateChange(IN PDBGKD_MANIPULATE_STATE64 State,
23 IN PCONTEXT Context)
24 {
25 UNIMPLEMENTED;
26 }
27
28 VOID
29 NTAPI
KdpSetContextState(IN PDBGKD_ANY_WAIT_STATE_CHANGE WaitStateChange,IN PCONTEXT Context)30 KdpSetContextState(IN PDBGKD_ANY_WAIT_STATE_CHANGE WaitStateChange,
31 IN PCONTEXT Context)
32 {
33 UNIMPLEMENTED;
34 }
35
36 NTSTATUS
37 NTAPI
KdpSysReadMsr(IN ULONG Msr,OUT PLARGE_INTEGER MsrValue)38 KdpSysReadMsr(IN ULONG Msr,
39 OUT PLARGE_INTEGER MsrValue)
40 {
41 UNIMPLEMENTED;
42 return STATUS_UNSUCCESSFUL;
43 }
44
45 NTSTATUS
46 NTAPI
KdpSysWriteMsr(IN ULONG Msr,IN PLARGE_INTEGER MsrValue)47 KdpSysWriteMsr(IN ULONG Msr,
48 IN PLARGE_INTEGER MsrValue)
49 {
50 UNIMPLEMENTED;
51 return STATUS_UNSUCCESSFUL;
52 }
53
54 NTSTATUS
55 NTAPI
KdpSysReadBusData(IN ULONG BusDataType,IN ULONG BusNumber,IN ULONG SlotNumber,IN ULONG Offset,IN PVOID Buffer,IN ULONG Length,OUT PULONG ActualLength)56 KdpSysReadBusData(IN ULONG BusDataType,
57 IN ULONG BusNumber,
58 IN ULONG SlotNumber,
59 IN ULONG Offset,
60 IN PVOID Buffer,
61 IN ULONG Length,
62 OUT PULONG ActualLength)
63 {
64 UNIMPLEMENTED;
65 return STATUS_UNSUCCESSFUL;
66 }
67
68 NTSTATUS
69 NTAPI
KdpSysWriteBusData(IN ULONG BusDataType,IN ULONG BusNumber,IN ULONG SlotNumber,IN ULONG Offset,IN PVOID Buffer,IN ULONG Length,OUT PULONG ActualLength)70 KdpSysWriteBusData(IN ULONG BusDataType,
71 IN ULONG BusNumber,
72 IN ULONG SlotNumber,
73 IN ULONG Offset,
74 IN PVOID Buffer,
75 IN ULONG Length,
76 OUT PULONG ActualLength)
77 {
78 UNIMPLEMENTED;
79 return STATUS_UNSUCCESSFUL;
80 }
81
82 NTSTATUS
83 NTAPI
KdpSysReadControlSpace(IN ULONG Processor,IN ULONG64 BaseAddress,IN PVOID Buffer,IN ULONG Length,OUT PULONG ActualLength)84 KdpSysReadControlSpace(IN ULONG Processor,
85 IN ULONG64 BaseAddress,
86 IN PVOID Buffer,
87 IN ULONG Length,
88 OUT PULONG ActualLength)
89 {
90 UNIMPLEMENTED;
91 return STATUS_UNSUCCESSFUL;
92 }
93
94 NTSTATUS
95 NTAPI
KdpSysWriteControlSpace(IN ULONG Processor,IN ULONG64 BaseAddress,IN PVOID Buffer,IN ULONG Length,OUT PULONG ActualLength)96 KdpSysWriteControlSpace(IN ULONG Processor,
97 IN ULONG64 BaseAddress,
98 IN PVOID Buffer,
99 IN ULONG Length,
100 OUT PULONG ActualLength)
101 {
102 UNIMPLEMENTED;
103 return STATUS_UNSUCCESSFUL;
104 }
105
106 NTSTATUS
107 NTAPI
KdpSysReadIoSpace(IN ULONG InterfaceType,IN ULONG BusNumber,IN ULONG AddressSpace,IN ULONG64 IoAddress,IN PVOID DataValue,IN ULONG DataSize,OUT PULONG ActualDataSize)108 KdpSysReadIoSpace(IN ULONG InterfaceType,
109 IN ULONG BusNumber,
110 IN ULONG AddressSpace,
111 IN ULONG64 IoAddress,
112 IN PVOID DataValue,
113 IN ULONG DataSize,
114 OUT PULONG ActualDataSize)
115 {
116 UNIMPLEMENTED;
117 return STATUS_UNSUCCESSFUL;
118 }
119
120 NTSTATUS
121 NTAPI
KdpSysWriteIoSpace(IN ULONG InterfaceType,IN ULONG BusNumber,IN ULONG AddressSpace,IN ULONG64 IoAddress,IN PVOID DataValue,IN ULONG DataSize,OUT PULONG ActualDataSize)122 KdpSysWriteIoSpace(IN ULONG InterfaceType,
123 IN ULONG BusNumber,
124 IN ULONG AddressSpace,
125 IN ULONG64 IoAddress,
126 IN PVOID DataValue,
127 IN ULONG DataSize,
128 OUT PULONG ActualDataSize)
129 {
130 UNIMPLEMENTED;
131 return STATUS_UNSUCCESSFUL;
132 }
133
134 NTSTATUS
135 NTAPI
KdpSysCheckLowMemory(IN ULONG Flags)136 KdpSysCheckLowMemory(IN ULONG Flags)
137 {
138 UNIMPLEMENTED;
139 return STATUS_UNSUCCESSFUL;
140 }
141
142 NTSTATUS
143 NTAPI
KdpAllowDisable(VOID)144 KdpAllowDisable(VOID)
145 {
146 UNIMPLEMENTED;
147 return STATUS_ACCESS_DENIED;
148 }
149