ReactOS  0.4.15-dev-1397-g19779b3
kdarm.c
Go to the documentation of this file.
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
24 {
26 }
27 
28 VOID
29 NTAPI
32 {
34 }
35 
37 NTAPI
39  OUT PLARGE_INTEGER MsrValue)
40 {
42  return STATUS_UNSUCCESSFUL;
43 }
44 
46 NTAPI
48  IN PLARGE_INTEGER MsrValue)
49 {
51  return STATUS_UNSUCCESSFUL;
52 }
53 
55 NTAPI
59  IN ULONG Offset,
60  IN PVOID Buffer,
61  IN ULONG Length,
62  OUT PULONG ActualLength)
63 {
65  return STATUS_UNSUCCESSFUL;
66 }
67 
69 NTAPI
73  IN ULONG Offset,
74  IN PVOID Buffer,
75  IN ULONG Length,
76  OUT PULONG ActualLength)
77 {
79  return STATUS_UNSUCCESSFUL;
80 }
81 
83 NTAPI
86  IN PVOID Buffer,
87  IN ULONG Length,
88  OUT PULONG ActualLength)
89 {
91  return STATUS_UNSUCCESSFUL;
92 }
93 
95 NTAPI
98  IN PVOID Buffer,
99  IN ULONG Length,
100  OUT PULONG ActualLength)
101 {
103  return STATUS_UNSUCCESSFUL;
104 }
105 
106 NTSTATUS
107 NTAPI
111  IN ULONG64 IoAddress,
112  IN PVOID DataValue,
113  IN ULONG DataSize,
114  OUT PULONG ActualDataSize)
115 {
117  return STATUS_UNSUCCESSFUL;
118 }
119 
120 NTSTATUS
121 NTAPI
125  IN ULONG64 IoAddress,
126  IN PVOID DataValue,
127  IN ULONG DataSize,
128  OUT PULONG ActualDataSize)
129 {
131  return STATUS_UNSUCCESSFUL;
132 }
133 
134 NTSTATUS
135 NTAPI
137 {
139  return STATUS_UNSUCCESSFUL;
140 }
141 
142 NTSTATUS
143 NTAPI
145 {
147  return STATUS_ACCESS_DENIED;
148 }
_In_ WDFIORESREQLIST _In_ ULONG SlotNumber
Definition: wdfresource.h:65
NTSTATUS NTAPI KdpSysReadControlSpace(IN ULONG Processor, IN ULONG64 BaseAddress, IN PVOID Buffer, IN ULONG Length, OUT PULONG ActualLength)
Definition: kdarm.c:84
#define IN
Definition: typedefs.h:39
NTSTATUS NTAPI KdpSysWriteIoSpace(IN ULONG InterfaceType, IN ULONG BusNumber, IN ULONG AddressSpace, IN ULONG64 IoAddress, IN PVOID DataValue, IN ULONG DataSize, OUT PULONG ActualDataSize)
Definition: kdarm.c:122
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
NTSTATUS NTAPI KdpSysReadMsr(IN ULONG Msr, OUT PLARGE_INTEGER MsrValue)
Definition: kdarm.c:38
NTSTATUS NTAPI KdpSysReadIoSpace(IN ULONG InterfaceType, IN ULONG BusNumber, IN ULONG AddressSpace, IN ULONG64 IoAddress, IN PVOID DataValue, IN ULONG DataSize, OUT PULONG ActualDataSize)
Definition: kdarm.c:108
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG AddressSpace
Definition: iofuncs.h:2268
LONG NTSTATUS
Definition: precomp.h:26
_In_ UCHAR Processor
Definition: kefuncs.h:682
NTSTATUS NTAPI KdpSysCheckLowMemory(IN ULONG Flags)
Definition: kdarm.c:136
NTSTATUS NTAPI KdpSysWriteControlSpace(IN ULONG Processor, IN ULONG64 BaseAddress, IN PVOID Buffer, IN ULONG Length, OUT PULONG ActualLength)
Definition: kdarm.c:96
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
NTSTATUS NTAPI KdpAllowDisable(VOID)
Definition: kdarm.c:144
Definition: bufpool.h:45
VOID NTAPI KdpGetStateChange(IN PDBGKD_MANIPULATE_STATE64 State, IN PCONTEXT Context)
Definition: kdarm.c:22
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG BusNumber
Definition: halfuncs.h:156
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition: mmfuncs.h:404
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
NTSTATUS NTAPI KdpSysWriteMsr(IN ULONG Msr, IN PLARGE_INTEGER MsrValue)
Definition: kdarm.c:47
#define STATUS_ACCESS_DENIED
Definition: udferr_usr.h:145
VOID NTAPI KdpSetContextState(IN PDBGKD_ANY_WAIT_STATE_CHANGE WaitStateChange, IN PCONTEXT Context)
Definition: kdarm.c:30
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
unsigned __int64 ULONG64
Definition: imports.h:198
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
NTSTATUS NTAPI KdpSysReadBusData(IN ULONG BusDataType, IN ULONG BusNumber, IN ULONG SlotNumber, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length, OUT PULONG ActualLength)
Definition: kdarm.c:56
unsigned int * PULONG
Definition: retypes.h:1
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
Definition: ndis.h:4751
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
Definition: wdffdo.h:461
NTSTATUS NTAPI KdpSysWriteBusData(IN ULONG BusDataType, IN ULONG BusNumber, IN ULONG SlotNumber, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length, OUT PULONG ActualLength)
Definition: kdarm.c:70