ReactOS  0.4.14-dev-317-g96040ec
portio.c File Reference
#include <hal.h>
#include <debug.h>
Include dependency graph for portio.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

VOID NTAPI READ_PORT_BUFFER_UCHAR (IN PUCHAR Port, OUT PUCHAR Buffer, IN ULONG Count)
 
VOID NTAPI READ_PORT_BUFFER_USHORT (IN PUSHORT Port, OUT PUSHORT Buffer, IN ULONG Count)
 
VOID NTAPI READ_PORT_BUFFER_ULONG (IN PULONG Port, OUT PULONG Buffer, IN ULONG Count)
 
UCHAR NTAPI READ_PORT_UCHAR (IN PUCHAR Port)
 
USHORT NTAPI READ_PORT_USHORT (IN PUSHORT Port)
 
ULONG NTAPI READ_PORT_ULONG (IN PULONG Port)
 
VOID NTAPI WRITE_PORT_BUFFER_UCHAR (IN PUCHAR Port, IN PUCHAR Buffer, IN ULONG Count)
 
VOID NTAPI WRITE_PORT_BUFFER_USHORT (IN PUSHORT Port, IN PUSHORT Buffer, IN ULONG Count)
 
VOID NTAPI WRITE_PORT_BUFFER_ULONG (IN PULONG Port, IN PULONG Buffer, IN ULONG Count)
 
VOID NTAPI WRITE_PORT_UCHAR (IN PUCHAR Port, IN UCHAR Value)
 
VOID NTAPI WRITE_PORT_USHORT (IN PUSHORT Port, IN USHORT Value)
 
VOID NTAPI WRITE_PORT_ULONG (IN PULONG Port, IN ULONG Value)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file portio.c.

Function Documentation

◆ READ_PORT_BUFFER_UCHAR()

VOID NTAPI READ_PORT_BUFFER_UCHAR ( IN PUCHAR  Port,
OUT PUCHAR  Buffer,
IN ULONG  Count 
)

Definition at line 26 of file portio.c.

29 {
31  while (TRUE);
32 }
#define TRUE
Definition: types.h:120
#define UNIMPLEMENTED
Definition: debug.h:114

Referenced by ScsiPortReadPortBufferUchar(), StorPortReadPortBufferUchar(), and x86IoRead().

◆ READ_PORT_BUFFER_ULONG()

VOID NTAPI READ_PORT_BUFFER_ULONG ( IN PULONG  Port,
OUT PULONG  Buffer,
IN ULONG  Count 
)

Definition at line 46 of file portio.c.

49 {
51  while (TRUE);
52 }
#define TRUE
Definition: types.h:120
#define UNIMPLEMENTED
Definition: debug.h:114

Referenced by ScsiPortReadPortBufferUlong(), StorPortReadPortBufferUlong(), and x86IoRead().

◆ READ_PORT_BUFFER_USHORT()

VOID NTAPI READ_PORT_BUFFER_USHORT ( IN PUSHORT  Port,
OUT PUSHORT  Buffer,
IN ULONG  Count 
)

Definition at line 36 of file portio.c.

39 {
41  while (TRUE);
42 }
#define TRUE
Definition: types.h:120
#define UNIMPLEMENTED
Definition: debug.h:114

Referenced by ScsiPortReadPortBufferUshort(), StorPortReadPortBufferUshort(), and x86IoRead().

◆ READ_PORT_UCHAR()

UCHAR NTAPI READ_PORT_UCHAR ( IN PUCHAR  Port)

Definition at line 56 of file portio.c.

57 {
58  return READ_REGISTER_UCHAR(Port);
59 }
CPPORT Port[4]
Definition: headless.c:34
NTKERNELAPI UCHAR NTAPI READ_REGISTER_UCHAR(IN PUCHAR Register)

◆ READ_PORT_ULONG()

ULONG NTAPI READ_PORT_ULONG ( IN PULONG  Port)

Definition at line 70 of file portio.c.

71 {
72  return READ_REGISTER_ULONG(Port);
73 }
CPPORT Port[4]
Definition: headless.c:34
NTKERNELAPI ULONG NTAPI READ_REGISTER_ULONG(IN PULONG Register)

Referenced by AcpiOsReadPort(), inl(), KdpSysReadIoSpace(), MachInit(), NdisImmediateReadPortUlong(), CUSBHardwareDevice::ReadRegister32(), ScsiPortReadPortUlong(), STDMETHODIMP_(), and StorPortReadPortUlong().

◆ READ_PORT_USHORT()

◆ WRITE_PORT_BUFFER_UCHAR()

VOID NTAPI WRITE_PORT_BUFFER_UCHAR ( IN PUCHAR  Port,
IN PUCHAR  Buffer,
IN ULONG  Count 
)

Definition at line 77 of file portio.c.

80 {
82  while (TRUE);
83 }
#define TRUE
Definition: types.h:120
#define UNIMPLEMENTED
Definition: debug.h:114

Referenced by ScsiPortWritePortBufferUchar(), StorPortWritePortBufferUchar(), and x86IoWrite().

◆ WRITE_PORT_BUFFER_ULONG()

VOID NTAPI WRITE_PORT_BUFFER_ULONG ( IN PULONG  Port,
IN PULONG  Buffer,
IN ULONG  Count 
)

Definition at line 97 of file portio.c.

100 {
102  while (TRUE);
103 }
#define TRUE
Definition: types.h:120
#define UNIMPLEMENTED
Definition: debug.h:114

Referenced by ScsiPortWritePortBufferUlong(), StorPortWritePortBufferUlong(), and x86IoWrite().

◆ WRITE_PORT_BUFFER_USHORT()

VOID NTAPI WRITE_PORT_BUFFER_USHORT ( IN PUSHORT  Port,
IN PUSHORT  Buffer,
IN ULONG  Count 
)

Definition at line 87 of file portio.c.

90 {
92  while (TRUE);
93 }
#define TRUE
Definition: types.h:120
#define UNIMPLEMENTED
Definition: debug.h:114

Referenced by ScsiPortWritePortBufferUshort(), StorPortWritePortBufferUshort(), VgaInterpretCmdStream(), and x86IoWrite().

◆ WRITE_PORT_UCHAR()

VOID NTAPI WRITE_PORT_UCHAR ( IN PUCHAR  Port,
IN UCHAR  Value 
)

Definition at line 107 of file portio.c.

109 {
111 }
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
CPPORT Port[4]
Definition: headless.c:34
NTKERNELAPI VOID NTAPI WRITE_REGISTER_UCHAR(IN PUCHAR Register, IN UCHAR Value)

◆ WRITE_PORT_ULONG()

VOID NTAPI WRITE_PORT_ULONG ( IN PULONG  Port,
IN ULONG  Value 
)

Definition at line 123 of file portio.c.

125 {
127 }
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
CPPORT Port[4]
Definition: headless.c:34
NTKERNELAPI VOID NTAPI WRITE_REGISTER_ULONG(IN PULONG Register, IN ULONG Value)

Referenced by AcpiOsWritePort(), HalpPCIReleaseSynchronzationType1(), KdpSysWriteIoSpace(), MachInit(), NdisImmediateWritePortUlong(), outl(), ScsiPortWritePortUlong(), StorPortWritePortUlong(), UhciStartController(), CUSBHardwareDevice::WriteRegister32(), and XboxMemInit().

◆ WRITE_PORT_USHORT()