ReactOS 0.4.16-dev-937-g7afcd2a
kdarm.c File Reference
#include <ntoskrnl.h>
#include <debug.h>
Include dependency graph for kdarm.c:

Go to the source code of this file.

Macros

#define NDEBUG
 
#define UNIMPLEMENTED   KdpDprintf("%s is unimplemented\n", __FUNCTION__)
 

Functions

VOID NTAPI KdpGetStateChange (IN PDBGKD_MANIPULATE_STATE64 State, IN PCONTEXT Context)
 
VOID NTAPI KdpSetContextState (IN PDBGKD_ANY_WAIT_STATE_CHANGE WaitStateChange, IN PCONTEXT Context)
 
NTSTATUS NTAPI KdpSysReadMsr (_In_ ULONG Msr, _Out_ PULONGLONG MsrValue)
 
NTSTATUS NTAPI KdpSysWriteMsr (_In_ ULONG Msr, _In_ PULONGLONG MsrValue)
 
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)
 
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)
 
NTSTATUS NTAPI KdpSysReadControlSpace (_In_ ULONG Processor, _In_ ULONG64 BaseAddress, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _Out_ PULONG ActualLength)
 
NTSTATUS NTAPI KdpSysWriteControlSpace (_In_ ULONG Processor, _In_ ULONG64 BaseAddress, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _Out_ PULONG ActualLength)
 
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)
 
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)
 
NTSTATUS NTAPI KdpSysCheckLowMemory (IN ULONG Flags)
 
NTSTATUS NTAPI KdpAllowDisable (VOID)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file kdarm.c.

◆ UNIMPLEMENTED

#define UNIMPLEMENTED   KdpDprintf("%s is unimplemented\n", __FUNCTION__)

Definition at line 16 of file kdarm.c.

Function Documentation

◆ KdpAllowDisable()

NTSTATUS NTAPI KdpAllowDisable ( VOID  )

Definition at line 152 of file kdarm.c.

153{
156}
#define UNIMPLEMENTED
Definition: kdarm.c:16
#define STATUS_ACCESS_DENIED
Definition: udferr_usr.h:145

◆ KdpGetStateChange()

VOID NTAPI KdpGetStateChange ( IN PDBGKD_MANIPULATE_STATE64  State,
IN PCONTEXT  Context 
)

Definition at line 22 of file kdarm.c.

24{
26}

◆ KdpSetContextState()

VOID NTAPI KdpSetContextState ( IN PDBGKD_ANY_WAIT_STATE_CHANGE  WaitStateChange,
IN PCONTEXT  Context 
)

Definition at line 30 of file kdarm.c.

32{
34}

◆ KdpSysCheckLowMemory()

NTSTATUS NTAPI KdpSysCheckLowMemory ( IN ULONG  Flags)

Definition at line 144 of file kdarm.c.

145{
147 return STATUS_UNSUCCESSFUL;
148}
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132

◆ KdpSysReadBusData()

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 at line 58 of file kdarm.c.

66{
69}

◆ KdpSysReadControlSpace()

NTSTATUS NTAPI KdpSysReadControlSpace ( _In_ ULONG  Processor,
_In_ ULONG64  BaseAddress,
_Out_writes_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length,
_Out_ PULONG  ActualLength 
)

Definition at line 88 of file kdarm.c.

94{
97}

◆ KdpSysReadIoSpace()

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 at line 114 of file kdarm.c.

122{
124 return STATUS_UNSUCCESSFUL;
125}

◆ KdpSysReadMsr()

NTSTATUS NTAPI KdpSysReadMsr ( _In_ ULONG  Msr,
_Out_ PULONGLONG  MsrValue 
)

Definition at line 38 of file kdarm.c.

41{
44}

◆ KdpSysWriteBusData()

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 at line 73 of file kdarm.c.

81{
84}

◆ KdpSysWriteControlSpace()

NTSTATUS NTAPI KdpSysWriteControlSpace ( _In_ ULONG  Processor,
_In_ ULONG64  BaseAddress,
_In_reads_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length,
_Out_ PULONG  ActualLength 
)

Definition at line 101 of file kdarm.c.

107{
109 return STATUS_UNSUCCESSFUL;
110}

◆ KdpSysWriteIoSpace()

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 at line 129 of file kdarm.c.

137{
139 return STATUS_UNSUCCESSFUL;
140}

◆ KdpSysWriteMsr()

NTSTATUS NTAPI KdpSysWriteMsr ( _In_ ULONG  Msr,
_In_ PULONGLONG  MsrValue 
)

Definition at line 48 of file kdarm.c.

51{
54}