|
ReactOS 0.4.16-dev-2473-gb34a1f1
|
#include <intrin.h>#include <ioaccess.h>#include <ntstatus.h>#include <cportlib/cportlib.h>#include <drivers/serial/ns16550.h>

Go to the source code of this file.
Macros | |
| #define | TIMEOUT_COUNT (1024 * 200) |
Functions | |
| static BOOLEAN | ComPortTest1 (_In_ PUCHAR Address) |
| static BOOLEAN | ComPortTest2 (_In_ PUCHAR Address) |
| BOOLEAN NTAPI | Uart16550DoesPortExist (_In_ PUCHAR Address) |
| VOID NTAPI | Uart16550EnableFifo (_In_ PUCHAR Address, _In_ BOOLEAN Enable) |
| VOID NTAPI | Uart16550SetBaud (_Inout_ PCPPORT Port, _In_ ULONG BaudRate) |
| NTSTATUS NTAPI | Uart16550Initialize (_Inout_ PCPPORT Port, _In_ PUCHAR Address, _In_ ULONG BaudRate) |
| static UCHAR NTAPI | Cp16550ReadLsr (_Inout_ PCPPORT Port, _In_ UCHAR ExpectedValue) |
| USHORT NTAPI | Uart16550GetByte (_Inout_ PCPPORT Port, _Out_ PUCHAR Byte, _In_ BOOLEAN Wait, _In_ BOOLEAN Poll) |
| VOID NTAPI | Uart16550PutByte (_Inout_ PCPPORT Port, _In_ UCHAR Byte) |
Variables | |
| UCHAR | RingIndicator |
Definition at line 39 of file ns16550.c.
Referenced by Uart16550DoesPortExist().
Definition at line 114 of file ns16550.c.
Referenced by Uart16550DoesPortExist().
Definition at line 226 of file ns16550.c.
Referenced by CpReadLsr(), Uart16550GetByte(), and Uart16550PutByte().
Definition at line 138 of file ns16550.c.
Referenced by CpDoesPortExist(), and Uart16550Initialize().
Definition at line 146 of file ns16550.c.
Referenced by CpEnableFifo(), and Uart16550Initialize().
| USHORT NTAPI Uart16550GetByte | ( | _Inout_ PCPPORT | Port, |
| _Out_ PUCHAR | Byte, | ||
| _In_ BOOLEAN | Wait, | ||
| _In_ BOOLEAN | Poll | ||
| ) |
Definition at line 250 of file ns16550.c.
Referenced by CpGetByte().
| NTSTATUS NTAPI Uart16550Initialize | ( | _Inout_ PCPPORT | Port, |
| _In_ PUCHAR | Address, | ||
| _In_ ULONG | BaudRate | ||
| ) |
Definition at line 182 of file ns16550.c.
Referenced by CpInitialize().
Definition at line 303 of file ns16550.c.
Referenced by CpPutByte().
Definition at line 158 of file ns16550.c.
Referenced by CpSetBaud(), and Uart16550Initialize().
| UCHAR RingIndicator |
Definition at line 34 of file ns16550.c.
Referenced by Cp16550ReadLsr(), and CpReadLsr().