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 22 KdpGetStateChange(IN PDBGKD_MANIPULATE_STATE64 State, 23 IN PCONTEXT Context) 24 { 25 UNIMPLEMENTED_DBGBREAK(); 26 } 27 28 VOID 29 NTAPI 30 KdpSetContextState(IN PDBGKD_ANY_WAIT_STATE_CHANGE WaitStateChange, 31 IN PCONTEXT Context) 32 { 33 UNIMPLEMENTED_DBGBREAK(); 34 } 35 36 NTSTATUS 37 NTAPI 38 KdpSysReadMsr(IN ULONG Msr, 39 OUT PLARGE_INTEGER MsrValue) 40 { 41 UNIMPLEMENTED_DBGBREAK(); 42 return STATUS_UNSUCCESSFUL; 43 } 44 45 NTSTATUS 46 NTAPI 47 KdpSysWriteMsr(IN ULONG Msr, 48 IN PLARGE_INTEGER MsrValue) 49 { 50 UNIMPLEMENTED_DBGBREAK(); 51 return STATUS_UNSUCCESSFUL; 52 } 53 54 NTSTATUS 55 NTAPI 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_DBGBREAK(); 65 return STATUS_UNSUCCESSFUL; 66 } 67 68 NTSTATUS 69 NTAPI 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_DBGBREAK(); 79 return STATUS_UNSUCCESSFUL; 80 } 81 82 NTSTATUS 83 NTAPI 84 KdpSysReadControlSpace(IN ULONG Processor, 85 IN ULONG64 BaseAddress, 86 IN PVOID Buffer, 87 IN ULONG Length, 88 OUT PULONG ActualLength) 89 { 90 UNIMPLEMENTED_DBGBREAK(); 91 return STATUS_UNSUCCESSFUL; 92 } 93 94 NTSTATUS 95 NTAPI 96 KdpSysWriteControlSpace(IN ULONG Processor, 97 IN ULONG64 BaseAddress, 98 IN PVOID Buffer, 99 IN ULONG Length, 100 OUT PULONG ActualLength) 101 { 102 UNIMPLEMENTED_DBGBREAK(); 103 return STATUS_UNSUCCESSFUL; 104 } 105 106 NTSTATUS 107 NTAPI 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_DBGBREAK(); 117 return STATUS_UNSUCCESSFUL; 118 } 119 120 NTSTATUS 121 NTAPI 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_DBGBREAK(); 131 return STATUS_UNSUCCESSFUL; 132 } 133 134 NTSTATUS 135 NTAPI 136 KdpSysCheckLowMemory(IN ULONG Flags) 137 { 138 UNIMPLEMENTED_DBGBREAK(); 139 return STATUS_UNSUCCESSFUL; 140 } 141 142 NTSTATUS 143 NTAPI 144 KdpAllowDisable(VOID) 145 { 146 UNIMPLEMENTED_DBGBREAK(); 147 return STATUS_ACCESS_DENIED; 148 } 149