ReactOS
0.4.15-dev-2087-g6bfb76b
|
#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>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#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 NDEBUG |
Definition at line 22 of file cport_pc98.c.
#define TIMEOUT_COUNT 1024 * 200 |
Definition at line 27 of file cport_pc98.c.
Definition at line 364 of file cport_pc98.c.
Referenced by CpInitialize(), DetectKeyboardController(), DetectSerialPorts(), InbvPortInitialize(), KdDebuggerInitialize0(), KdPortInitializeEx(), and WinLdrPortInitialize().
Definition at line 72 of file cport_pc98.c.
Referenced by CpGetByte(), CpInitialize(), InbvPortEnableFifo(), and WinLdrEnableFifo().
Definition at line 448 of file cport_pc98.c.
Referenced by InbvPortGetByte(), InbvPortPollOnly(), KdPortGetByteEx(), KdpPollByte(), KdpReceiveByte(), WinLdrPortGetByte(), and WinLdrPortPollOnly().
Definition at line 153 of file cport_pc98.c.
Referenced by InbvPortInitialize(), KdDebuggerInitialize0(), KdPortInitializeEx(), KdpPortInitialize(), LlbHwOmap3UartInitialize(), and WinLdrPortInitialize().
Definition at line 46 of file cport_pc98.c.
Referenced by CpInitialize().
Definition at line 566 of file cport_pc98.c.
Referenced by InbvPortPutByte(), KdPortPutByteEx(), KdpSendByte(), LlbHwUartSendChar(), and WinLdrPortPutByte().
Definition at line 387 of file cport_pc98.c.
Referenced by CpGetByte(), and CpPutByte().
Definition at line 100 of file cport_pc98.c.
Referenced by CpInitialize().
Definition at line 62 of file cport_pc98.c.
Referenced by CpEnableFifo(), and CpInitialize().
PUCHAR Address |
Definition at line 31 of file cport_pc98.c.
Referenced by CpDoesPortExist(), CpEnableFifo(), and CpInitialize().
BOOLEAN FifoEnabled |
Definition at line 33 of file cport_pc98.c.
Referenced by CpGetByte(), and SerialDetectUartType().
BOOLEAN HasFifo |
Definition at line 32 of file cport_pc98.c.
Referenced by CpEnableFifo(), CpGetByte(), CpInitialize(), CpPutByte(), CpReadLsr(), CpSetBaud(), and DetectSerialPorts().
Definition at line 41 of file cport_pc98.c.
Referenced by CpGetByte(), CpInitialize(), and CpSetBaud().
UCHAR RingIndicator |
Definition at line 34 of file cport_pc98.c.
Referenced by CpReadLsr().
struct { ... } Rs232ComPort[] |
Referenced by CpDoesPortExist(), CpEnableFifo(), CpGetByte(), CpInitialize(), CpPutByte(), CpReadLsr(), CpSetBaud(), and Rs232PortInUse().