|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <intrin.h>#include <ioaccess.h>#include <ntstatus.h>#include <cportlib/cportlib.h>#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 | TIMEOUT_COUNT 1024 * 200 |
Functions | |
| static BOOLEAN | CpIsNekoProject (VOID) |
| static VOID | CpWait (VOID) |
| VOID NTAPI | CpEnableFifo (IN PUCHAR Address, IN BOOLEAN Enable) |
| VOID NTAPI | CpSetBaud (IN PCPPORT Port, IN ULONG BaudRate) |
| NTSTATUS NTAPI | CpInitialize (IN PCPPORT Port, IN PUCHAR Address, IN ULONG BaudRate) |
| static BOOLEAN | ComPortTest1 (IN PUCHAR Address) |
| static BOOLEAN | ComPortTest2 (IN PUCHAR Address) |
| BOOLEAN NTAPI | CpDoesPortExist (IN PUCHAR Address) |
| UCHAR NTAPI | CpReadLsr (IN PCPPORT Port, IN UCHAR ExpectedValue) |
| USHORT NTAPI | CpGetByte (IN PCPPORT Port, OUT PUCHAR Byte, IN BOOLEAN Wait, IN BOOLEAN Poll) |
| VOID NTAPI | CpPutByte (IN PCPPORT Port, IN UCHAR Byte) |
Variables | |
| struct { | |
| PUCHAR Address | |
| BOOLEAN HasFifo | |
| BOOLEAN FifoEnabled | |
| UCHAR RingIndicator | |
| } | Rs232ComPort [] |
| static BOOLEAN | IsNekoProject = FALSE |
| #define TIMEOUT_COUNT 1024 * 200 |
Definition at line 23 of file cport_pc98.c.
Definition at line 261 of file cport_pc98.c.
Referenced by CpDoesPortExist().
Definition at line 336 of file cport_pc98.c.
Referenced by CpDoesPortExist().
Definition at line 360 of file cport_pc98.c.
Referenced by CpInitialize(), DetectKeyboardController(), DetectSerialPorts(), InbvPortInitialize(), KdDebuggerInitialize0(), KdPortInitializeEx(), and WinLdrPortInitialize().
Definition at line 68 of file cport_pc98.c.
Referenced by CpGetByte(), CpInitialize(), InbvPortEnableFifo(), and WinLdrEnableFifo().
Definition at line 444 of file cport_pc98.c.
Referenced by InbvPortGetByte(), InbvPortPollOnly(), KdPortGetByteEx(), KdpPollByte(), KdpReceiveByte(), WinLdrPortGetByte(), and WinLdrPortPollOnly().
Definition at line 149 of file cport_pc98.c.
Referenced by InbvPortInitialize(), KdDebuggerInitialize0(), KdPortInitializeEx(), KdpPortInitialize(), LlbHwOmap3UartInitialize(), and WinLdrPortInitialize().
Definition at line 42 of file cport_pc98.c.
Referenced by CpInitialize().
Definition at line 562 of file cport_pc98.c.
Referenced by InbvPortPutByte(), KdPortPutByteEx(), KdpSendByte(), LlbHwUartSendChar(), and WinLdrPortPutByte().
Definition at line 383 of file cport_pc98.c.
Referenced by CpGetByte(), and CpPutByte().
Definition at line 96 of file cport_pc98.c.
Referenced by CpInitialize().
Definition at line 58 of file cport_pc98.c.
Referenced by CpEnableFifo(), and CpInitialize().
| PUCHAR Address |
Definition at line 27 of file cport_pc98.c.
Referenced by CpDoesPortExist(), CpEnableFifo(), and CpInitialize().
| BOOLEAN FifoEnabled |
Definition at line 29 of file cport_pc98.c.
Referenced by CpGetByte(), and SerialDetectUartType().
| BOOLEAN HasFifo |
Definition at line 28 of file cport_pc98.c.
Referenced by CpEnableFifo(), CpGetByte(), CpInitialize(), CpPutByte(), CpReadLsr(), CpSetBaud(), and DetectSerialPorts().
Definition at line 37 of file cport_pc98.c.
Referenced by CpGetByte(), CpInitialize(), and CpSetBaud().
| UCHAR RingIndicator |
Definition at line 30 of file cport_pc98.c.
Referenced by CpReadLsr().
| struct { ... } Rs232ComPort[] |
Referenced by CpDoesPortExist(), CpEnableFifo(), CpGetByte(), CpInitialize(), CpPutByte(), CpReadLsr(), CpSetBaud(), and Rs232PortInUse().