ReactOS 0.4.16-dev-311-g9382aa2
stubs.c File Reference
#include "precomp.h"
#include <debug.h>
Include dependency graph for stubs.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

STORPORT_API VOID NTAPI StorPortReadPortBufferUchar (_In_ PVOID HwDeviceExtension, _In_ PUCHAR Port, _In_ PUCHAR Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortReadPortBufferUlong (_In_ PVOID HwDeviceExtension, _In_ PULONG Port, _In_ PULONG Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortReadPortBufferUshort (_In_ PVOID HwDeviceExtension, _In_ PUSHORT Port, _In_ PUSHORT Buffer, _In_ ULONG Count)
 
STORPORT_API UCHAR NTAPI StorPortReadPortUchar (_In_ PVOID HwDeviceExtension, _In_ PUCHAR Port)
 
STORPORT_API ULONG NTAPI StorPortReadPortUlong (_In_ PVOID HwDeviceExtension, _In_ PULONG Port)
 
STORPORT_API USHORT NTAPI StorPortReadPortUshort (_In_ PVOID HwDeviceExtension, _In_ PUSHORT Port)
 
STORPORT_API VOID NTAPI StorPortReadRegisterBufferUchar (_In_ PVOID HwDeviceExtension, _In_ PUCHAR Register, _In_ PUCHAR Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortReadRegisterBufferUlong (_In_ PVOID HwDeviceExtension, _In_ PULONG Register, _In_ PULONG Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortReadRegisterBufferUshort (_In_ PVOID HwDeviceExtension, _In_ PUSHORT Register, _In_ PUSHORT Buffer, _In_ ULONG Count)
 
STORPORT_API UCHAR NTAPI StorPortReadRegisterUchar (_In_ PVOID HwDeviceExtension, _In_ PUCHAR Register)
 
STORPORT_API ULONG NTAPI StorPortReadRegisterUlong (_In_ PVOID HwDeviceExtension, _In_ PULONG Register)
 
STORPORT_API USHORT NTAPI StorPortReadRegisterUshort (_In_ PVOID HwDeviceExtension, _In_ PUSHORT Register)
 
STORPORT_API VOID NTAPI StorPortWritePortBufferUchar (_In_ PVOID HwDeviceExtension, _In_ PUCHAR Port, _In_ PUCHAR Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortWritePortBufferUlong (_In_ PVOID HwDeviceExtension, _In_ PULONG Port, _In_ PULONG Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortWritePortBufferUshort (_In_ PVOID HwDeviceExtension, _In_ PUSHORT Port, _In_ PUSHORT Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortWritePortUchar (_In_ PVOID HwDeviceExtension, _In_ PUCHAR Port, _In_ UCHAR Value)
 
STORPORT_API VOID NTAPI StorPortWritePortUlong (_In_ PVOID HwDeviceExtension, _In_ PULONG Port, _In_ ULONG Value)
 
STORPORT_API VOID NTAPI StorPortWritePortUshort (_In_ PVOID HwDeviceExtension, _In_ PUSHORT Port, _In_ USHORT Value)
 
STORPORT_API VOID NTAPI StorPortWriteRegisterBufferUchar (_In_ PVOID HwDeviceExtension, _In_ PUCHAR Register, _In_ PUCHAR Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortWriteRegisterBufferUlong (_In_ PVOID HwDeviceExtension, _In_ PULONG Register, _In_ PULONG Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortWriteRegisterBufferUshort (_In_ PVOID HwDeviceExtension, _In_ PUSHORT Register, _In_ PUSHORT Buffer, _In_ ULONG Count)
 
STORPORT_API VOID NTAPI StorPortWriteRegisterUchar (_In_ PVOID HwDeviceExtension, _In_ PUCHAR Register, _In_ UCHAR Value)
 
STORPORT_API VOID NTAPI StorPortWriteRegisterUlong (_In_ PVOID HwDeviceExtension, _In_ PULONG Register, _In_ ULONG Value)
 
STORPORT_API VOID NTAPI StorPortWriteRegisterUshort (_In_ PVOID HwDeviceExtension, _In_ PUSHORT Register, _In_ USHORT Value)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file stubs.c.

Function Documentation

◆ StorPortReadPortBufferUchar()

STORPORT_API VOID NTAPI StorPortReadPortBufferUchar ( _In_ PVOID  HwDeviceExtension,
_In_ PUCHAR  Port,
_In_ PUCHAR  Buffer,
_In_ ULONG  Count 
)

Definition at line 21 of file stubs.c.

26{
28}
Definition: bufpool.h:45
VOID NTAPI READ_PORT_BUFFER_UCHAR(IN PUCHAR Port, OUT PUCHAR Buffer, IN ULONG Count)
Definition: portio.c:26
CPPORT Port[4]
Definition: headless.c:35
int Count
Definition: noreturn.cpp:7

◆ StorPortReadPortBufferUlong()

STORPORT_API VOID NTAPI StorPortReadPortBufferUlong ( _In_ PVOID  HwDeviceExtension,
_In_ PULONG  Port,
_In_ PULONG  Buffer,
_In_ ULONG  Count 
)

Definition at line 34 of file stubs.c.

39{
41}
VOID NTAPI READ_PORT_BUFFER_ULONG(IN PULONG Port, OUT PULONG Buffer, IN ULONG Count)
Definition: portio.c:46

◆ StorPortReadPortBufferUshort()

STORPORT_API VOID NTAPI StorPortReadPortBufferUshort ( _In_ PVOID  HwDeviceExtension,
_In_ PUSHORT  Port,
_In_ PUSHORT  Buffer,
_In_ ULONG  Count 
)

Definition at line 47 of file stubs.c.

52{
54}
VOID NTAPI READ_PORT_BUFFER_USHORT(IN PUSHORT Port, OUT PUSHORT Buffer, IN ULONG Count)
Definition: portio.c:36

◆ StorPortReadPortUchar()

STORPORT_API UCHAR NTAPI StorPortReadPortUchar ( _In_ PVOID  HwDeviceExtension,
_In_ PUCHAR  Port 
)

Definition at line 60 of file stubs.c.

63{
64 return READ_PORT_UCHAR(Port);
65}
#define READ_PORT_UCHAR(p)
Definition: pc98vid.h:22

◆ StorPortReadPortUlong()

STORPORT_API ULONG NTAPI StorPortReadPortUlong ( _In_ PVOID  HwDeviceExtension,
_In_ PULONG  Port 
)

Definition at line 71 of file stubs.c.

74{
75 return READ_PORT_ULONG(Port);
76}
ULONG NTAPI READ_PORT_ULONG(IN PULONG Port)
Definition: portio.c:70

◆ StorPortReadPortUshort()

STORPORT_API USHORT NTAPI StorPortReadPortUshort ( _In_ PVOID  HwDeviceExtension,
_In_ PUSHORT  Port 
)

Definition at line 82 of file stubs.c.

85{
86 return READ_PORT_USHORT(Port);
87}
USHORT NTAPI READ_PORT_USHORT(IN PUSHORT Port)
Definition: portio.c:63

◆ StorPortReadRegisterBufferUchar()

STORPORT_API VOID NTAPI StorPortReadRegisterBufferUchar ( _In_ PVOID  HwDeviceExtension,
_In_ PUCHAR  Register,
_In_ PUCHAR  Buffer,
_In_ ULONG  Count 
)

Definition at line 93 of file stubs.c.

98{
100}
NTKERNELAPI VOID NTAPI READ_REGISTER_BUFFER_UCHAR(IN PUCHAR Register, IN PUCHAR Buffer, IN ULONG Count)

◆ StorPortReadRegisterBufferUlong()

STORPORT_API VOID NTAPI StorPortReadRegisterBufferUlong ( _In_ PVOID  HwDeviceExtension,
_In_ PULONG  Register,
_In_ PULONG  Buffer,
_In_ ULONG  Count 
)

Definition at line 106 of file stubs.c.

111{
113}
NTKERNELAPI VOID NTAPI READ_REGISTER_BUFFER_ULONG(IN PULONG Register, IN PULONG Buffer, IN ULONG Count)

◆ StorPortReadRegisterBufferUshort()

STORPORT_API VOID NTAPI StorPortReadRegisterBufferUshort ( _In_ PVOID  HwDeviceExtension,
_In_ PUSHORT  Register,
_In_ PUSHORT  Buffer,
_In_ ULONG  Count 
)

Definition at line 119 of file stubs.c.

124{
126}
NTKERNELAPI VOID NTAPI READ_REGISTER_BUFFER_USHORT(IN PUSHORT Register, IN PUSHORT Buffer, IN ULONG Count)

◆ StorPortReadRegisterUchar()

STORPORT_API UCHAR NTAPI StorPortReadRegisterUchar ( _In_ PVOID  HwDeviceExtension,
_In_ PUCHAR  Register 
)

Definition at line 132 of file stubs.c.

135{
137}
NTKERNELAPI UCHAR NTAPI READ_REGISTER_UCHAR(IN PUCHAR Register)

◆ StorPortReadRegisterUlong()

STORPORT_API ULONG NTAPI StorPortReadRegisterUlong ( _In_ PVOID  HwDeviceExtension,
_In_ PULONG  Register 
)

◆ StorPortReadRegisterUshort()

STORPORT_API USHORT NTAPI StorPortReadRegisterUshort ( _In_ PVOID  HwDeviceExtension,
_In_ PUSHORT  Register 
)

Definition at line 154 of file stubs.c.

157{
159}
#define READ_REGISTER_USHORT(r)
Definition: arm.h:29

◆ StorPortWritePortBufferUchar()

STORPORT_API VOID NTAPI StorPortWritePortBufferUchar ( _In_ PVOID  HwDeviceExtension,
_In_ PUCHAR  Port,
_In_ PUCHAR  Buffer,
_In_ ULONG  Count 
)

Definition at line 165 of file stubs.c.

170{
172}
VOID NTAPI WRITE_PORT_BUFFER_UCHAR(IN PUCHAR Port, IN PUCHAR Buffer, IN ULONG Count)
Definition: portio.c:77

◆ StorPortWritePortBufferUlong()

STORPORT_API VOID NTAPI StorPortWritePortBufferUlong ( _In_ PVOID  HwDeviceExtension,
_In_ PULONG  Port,
_In_ PULONG  Buffer,
_In_ ULONG  Count 
)

Definition at line 178 of file stubs.c.

183{
185}
VOID NTAPI WRITE_PORT_BUFFER_ULONG(IN PULONG Port, IN PULONG Buffer, IN ULONG Count)
Definition: portio.c:97

◆ StorPortWritePortBufferUshort()

STORPORT_API VOID NTAPI StorPortWritePortBufferUshort ( _In_ PVOID  HwDeviceExtension,
_In_ PUSHORT  Port,
_In_ PUSHORT  Buffer,
_In_ ULONG  Count 
)

Definition at line 191 of file stubs.c.

196{
198}
VOID NTAPI WRITE_PORT_BUFFER_USHORT(IN PUSHORT Port, IN PUSHORT Buffer, IN ULONG Count)
Definition: portio.c:87

◆ StorPortWritePortUchar()

STORPORT_API VOID NTAPI StorPortWritePortUchar ( _In_ PVOID  HwDeviceExtension,
_In_ PUCHAR  Port,
_In_ UCHAR  Value 
)

Definition at line 204 of file stubs.c.

208{
210}
#define WRITE_PORT_UCHAR(p, d)
Definition: pc98vid.h:21
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413

◆ StorPortWritePortUlong()

STORPORT_API VOID NTAPI StorPortWritePortUlong ( _In_ PVOID  HwDeviceExtension,
_In_ PULONG  Port,
_In_ ULONG  Value 
)

Definition at line 216 of file stubs.c.

220{
222}
VOID NTAPI WRITE_PORT_ULONG(IN PULONG Port, IN ULONG Value)
Definition: portio.c:123

◆ StorPortWritePortUshort()

STORPORT_API VOID NTAPI StorPortWritePortUshort ( _In_ PVOID  HwDeviceExtension,
_In_ PUSHORT  Port,
_In_ USHORT  Value 
)

Definition at line 228 of file stubs.c.

232{
234}
VOID NTAPI WRITE_PORT_USHORT(IN PUSHORT Port, IN USHORT Value)
Definition: portio.c:115

◆ StorPortWriteRegisterBufferUchar()

STORPORT_API VOID NTAPI StorPortWriteRegisterBufferUchar ( _In_ PVOID  HwDeviceExtension,
_In_ PUCHAR  Register,
_In_ PUCHAR  Buffer,
_In_ ULONG  Count 
)

Definition at line 240 of file stubs.c.

245{
247}
NTKERNELAPI VOID NTAPI WRITE_REGISTER_BUFFER_UCHAR(IN PUCHAR Register, IN PUCHAR Buffer, IN ULONG Count)

◆ StorPortWriteRegisterBufferUlong()

STORPORT_API VOID NTAPI StorPortWriteRegisterBufferUlong ( _In_ PVOID  HwDeviceExtension,
_In_ PULONG  Register,
_In_ PULONG  Buffer,
_In_ ULONG  Count 
)

Definition at line 253 of file stubs.c.

258{
260}
NTKERNELAPI VOID NTAPI WRITE_REGISTER_BUFFER_ULONG(IN PULONG Register, IN PULONG Buffer, IN ULONG Count)

◆ StorPortWriteRegisterBufferUshort()

STORPORT_API VOID NTAPI StorPortWriteRegisterBufferUshort ( _In_ PVOID  HwDeviceExtension,
_In_ PUSHORT  Register,
_In_ PUSHORT  Buffer,
_In_ ULONG  Count 
)

Definition at line 266 of file stubs.c.

271{
273}
NTKERNELAPI VOID NTAPI WRITE_REGISTER_BUFFER_USHORT(IN PUSHORT Register, IN PUSHORT Buffer, IN ULONG Count)

◆ StorPortWriteRegisterUchar()

STORPORT_API VOID NTAPI StorPortWriteRegisterUchar ( _In_ PVOID  HwDeviceExtension,
_In_ PUCHAR  Register,
_In_ UCHAR  Value 
)

Definition at line 279 of file stubs.c.

283{
285}
NTKERNELAPI VOID NTAPI WRITE_REGISTER_UCHAR(IN PUCHAR Register, IN UCHAR Value)

◆ StorPortWriteRegisterUlong()

STORPORT_API VOID NTAPI StorPortWriteRegisterUlong ( _In_ PVOID  HwDeviceExtension,
_In_ PULONG  Register,
_In_ ULONG  Value 
)

Definition at line 291 of file stubs.c.

295{
297}
#define WRITE_REGISTER_ULONG(r, v)
Definition: arm.h:27

Referenced by AhciActivatePort(), AhciAdapterReset(), AhciHwFindAdapter(), AhciInterruptHandler(), AhciPortInitialize(), and AhciStartPort().

◆ StorPortWriteRegisterUshort()

STORPORT_API VOID NTAPI StorPortWriteRegisterUshort ( _In_ PVOID  HwDeviceExtension,
_In_ PUSHORT  Register,
_In_ USHORT  Value 
)

Definition at line 303 of file stubs.c.

307{
309}
#define WRITE_REGISTER_USHORT(r, v)
Definition: arm.h:30