ReactOS 0.4.16-dev-937-g7afcd2a
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
20VOID
24{
26}
27
28VOID
32{
34}
35
39 _In_ ULONG Msr,
40 _Out_ PULONGLONG MsrValue)
41{
44}
45
49 _In_ ULONG Msr,
50 _In_ PULONGLONG MsrValue)
51{
54}
55
59 _In_ BUS_DATA_TYPE BusDataType,
65 _Out_ PULONG ActualLength)
66{
69}
70
74 _In_ BUS_DATA_TYPE BusDataType,
80 _Out_ PULONG ActualLength)
81{
84}
85
93 _Out_ PULONG ActualLength)
94{
97}
98
100NTAPI
106 _Out_ PULONG ActualLength)
107{
109 return STATUS_UNSUCCESSFUL;
110}
111
113NTAPI
118 _In_ ULONG64 IoAddress,
121 _Out_ PULONG ActualDataSize)
122{
124 return STATUS_UNSUCCESSFUL;
125}
126
128NTAPI
133 _In_ ULONG64 IoAddress,
136 _Out_ PULONG ActualDataSize)
137{
139 return STATUS_UNSUCCESSFUL;
140}
141
143NTAPI
145{
147 return STATUS_UNSUCCESSFUL;
148}
149
151NTAPI
153{
156}
LONG NTSTATUS
Definition: precomp.h:26
Definition: bufpool.h:45
enum _INTERFACE_TYPE INTERFACE_TYPE
NTSTATUS NTAPI KdpSysWriteBusData(_In_ BUS_DATA_TYPE BusDataType, _In_ ULONG BusNumber, _In_ ULONG SlotNumber, _In_ ULONG Offset, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _Out_ PULONG ActualLength)
Definition: kdarm.c:73
VOID NTAPI KdpSetContextState(IN PDBGKD_ANY_WAIT_STATE_CHANGE WaitStateChange, IN PCONTEXT Context)
Definition: kdarm.c:30
NTSTATUS NTAPI KdpSysCheckLowMemory(IN ULONG Flags)
Definition: kdarm.c:144
NTSTATUS NTAPI KdpSysWriteIoSpace(_In_ INTERFACE_TYPE InterfaceType, _In_ ULONG BusNumber, _In_ ULONG AddressSpace, _In_ ULONG64 IoAddress, _In_reads_bytes_(DataSize) PVOID DataValue, _In_ ULONG DataSize, _Out_ PULONG ActualDataSize)
Definition: kdarm.c:129
NTSTATUS NTAPI KdpSysWriteMsr(_In_ ULONG Msr, _In_ PULONGLONG MsrValue)
Definition: kdarm.c:48
NTSTATUS NTAPI KdpSysReadMsr(_In_ ULONG Msr, _Out_ PULONGLONG MsrValue)
Definition: kdarm.c:38
NTSTATUS NTAPI KdpSysReadControlSpace(_In_ ULONG Processor, _In_ ULONG64 BaseAddress, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _Out_ PULONG ActualLength)
Definition: kdarm.c:88
VOID NTAPI KdpGetStateChange(IN PDBGKD_MANIPULATE_STATE64 State, IN PCONTEXT Context)
Definition: kdarm.c:22
NTSTATUS NTAPI KdpSysReadBusData(_In_ BUS_DATA_TYPE BusDataType, _In_ ULONG BusNumber, _In_ ULONG SlotNumber, _In_ ULONG Offset, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _Out_ PULONG ActualLength)
Definition: kdarm.c:58
#define UNIMPLEMENTED
Definition: kdarm.c:16
NTSTATUS NTAPI KdpSysWriteControlSpace(_In_ ULONG Processor, _In_ ULONG64 BaseAddress, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _Out_ PULONG ActualLength)
Definition: kdarm.c:101
NTSTATUS NTAPI KdpAllowDisable(VOID)
Definition: kdarm.c:152
NTSTATUS NTAPI KdpSysReadIoSpace(_In_ INTERFACE_TYPE InterfaceType, _In_ ULONG BusNumber, _In_ ULONG AddressSpace, _In_ ULONG64 IoAddress, _Out_writes_bytes_(DataSize) PVOID DataValue, _In_ ULONG DataSize, _Out_ PULONG ActualDataSize)
Definition: kdarm.c:114
unsigned __int64 ULONG64
Definition: imports.h:198
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
Definition: ndis.h:4755
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition: mmfuncs.h:404
#define _In_reads_bytes_(s)
Definition: no_sal2.h:170
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
#define _Out_writes_bytes_(s)
Definition: no_sal2.h:178
__GNU_EXTENSION typedef unsigned __int64 * PULONGLONG
Definition: ntbasedef.h:391
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
enum _BUS_DATA_TYPE BUS_DATA_TYPE
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define STATUS_ACCESS_DENIED
Definition: udferr_usr.h:145
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
Definition: wdffdo.h:463
_In_ WDFIORESREQLIST _In_ ULONG SlotNumber
Definition: wdfresource.h:68
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG BusNumber
Definition: halfuncs.h:160
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG AddressSpace
Definition: iofuncs.h:2274
_In_ UCHAR Processor
Definition: kefuncs.h:670