|
ReactOS 0.4.16-dev-2498-g8632030
|
#include "ns16550.c"#include <drivers/pc98/serial.h>#include <drivers/pc98/sysport.h>#include <drivers/pc98/pit.h>#include <drivers/pc98/cpu.h>
Go to the source code of this file.
Macros | |
| #define | IS_COM1(IoBase) ((IoBase) == UlongToPtr(0x30)) |
| #define | IS_NS16550(IoBase) ((IoBase) == UlongToPtr(0x238)) |
| #define | READ_PORT_BUFFER_UCHAR(port, buffer, count) __inbytestring(H2I(port), buffer, count) |
| #define | WRITE_PORT_BUFFER_UCHAR(port, buffer, count) __outbytestring(H2I(port), buffer, count) |
Functions | |
| static BOOLEAN | CpiIsNekoProject (VOID) |
| static ULONG | CpiGetPitTickRate (VOID) |
| static VOID | CpiWait (VOID) |
| static BOOLEAN | Cpi8251HasFifo (VOID) |
| static BOOLEAN | Cpi8251IsPortResponding (_In_ PUCHAR IoBase) |
| static BOOLEAN | Cpi8251DoesPortExist (_In_ PUCHAR IoBase) |
| BOOLEAN NTAPI | CpDoesPortExist (_In_ PUCHAR Address) |
| VOID NTAPI | CpEnableFifo (_In_ PUCHAR Address, _In_ BOOLEAN Enable) |
| VOID NTAPI | CpSetBaud (_Inout_ PCPPORT Port, _In_ ULONG BaudRate) |
| NTSTATUS NTAPI | CpInitialize (_Inout_ PCPPORT Port, _In_ PUCHAR Address, _In_ ULONG BaudRate) |
| static UCHAR NTAPI | CpReadLsr (_Inout_ PCPPORT Port, _In_ UCHAR ExpectedValue) |
| USHORT NTAPI | CpGetByte (_Inout_ PCPPORT Port, _Out_ PUCHAR Byte, _In_ BOOLEAN Wait, _In_ BOOLEAN Poll) |
| VOID NTAPI | CpPutByte (_Inout_ PCPPORT Port, _In_ UCHAR Byte) |
Variables | |
| static BOOLEAN | IsNp21W |
| static BOOLEAN | HasFifo |
| static BOOLEAN | IsFifoEnabled |
| #define IS_COM1 | ( | IoBase | ) | ((IoBase) == UlongToPtr(0x30)) |
Definition at line 21 of file cport_pc98.c.
| #define IS_NS16550 | ( | IoBase | ) | ((IoBase) == UlongToPtr(0x238)) |
Definition at line 22 of file cport_pc98.c.
Definition at line 25 of file cport_pc98.c.
Definition at line 26 of file cport_pc98.c.
Definition at line 136 of file cport_pc98.c.
Referenced by DetectKeyboardController(), DetectSerialPorts(), InbvPortInitialize(), KdDebuggerInitialize0(), KdPortInitializeEx(), and WinLdrPortInitialize().
Definition at line 147 of file cport_pc98.c.
Referenced by CpInitialize(), InbvPortEnableFifo(), and WinLdrEnableFifo().
| USHORT NTAPI CpGetByte | ( | _Inout_ PCPPORT | Port, |
| _Out_ PUCHAR | Byte, | ||
| _In_ BOOLEAN | Wait, | ||
| _In_ BOOLEAN | Poll | ||
| ) |
Definition at line 335 of file cport_pc98.c.
Referenced by InbvPortGetByte(), InbvPortPollOnly(), KdPortGetByteEx(), KdpPollByte(), KdpReceiveByte(), WinLdrPortGetByte(), and WinLdrPortPollOnly().
Definition at line 99 of file cport_pc98.c.
Referenced by CpDoesPortExist(), and CpInitialize().
Definition at line 74 of file cport_pc98.c.
Referenced by Cpi8251DoesPortExist(), and CpInitialize().
Definition at line 86 of file cport_pc98.c.
Referenced by Cpi8251DoesPortExist().
Definition at line 38 of file cport_pc98.c.
Referenced by CpInitialize().
Definition at line 249 of file cport_pc98.c.
Referenced by InbvPortInitialize(), KdDebuggerInitialize0(), KdPortInitializeEx(), KdpPortInitialize(), LlbHwOmap3UartInitialize(), and WinLdrPortInitialize().
Definition at line 64 of file cport_pc98.c.
Referenced by CpSetBaud().
Definition at line 418 of file cport_pc98.c.
Referenced by InbvPortPutByte(), KdPortPutByteEx(), KdpSendByte(), LlbHwUartSendChar(), and WinLdrPortPutByte().
Definition at line 292 of file cport_pc98.c.
Referenced by CpGetByte(), and CpPutByte().
Definition at line 173 of file cport_pc98.c.
Referenced by CpInitialize().
|
static |
Definition at line 31 of file cport_pc98.c.
Referenced by CpEnableFifo(), CpInitialize(), CpSetBaud(), and DetectSerialPorts().
|
static |
Definition at line 32 of file cport_pc98.c.
Referenced by CpEnableFifo(), CpGetByte(), CpInitialize(), CpPutByte(), CpReadLsr(), and CpSetBaud().
|
static |
Definition at line 30 of file cport_pc98.c.
Referenced by CpGetByte(), and CpInitialize().