33#if defined(SARCH_PC98)
34#define DEFAULT_BAUD_RATE 9600
36#define DEFAULT_BAUD_RATE 19200
39#if defined(_M_IX86) || defined(_M_AMD64)
40#if defined(SARCH_PC98)
52#error Unknown architecture
55#define MAX_COM_PORTS (sizeof(BaseArray) / sizeof(BaseArray[0]) - 1)
59static CPPORT Rs232ComPortInfo;
135 CpPutByte(&Rs232ComPortInfo, ByteToSend);
BOOLEAN Rs232PortInitialize(IN ULONG ComPort, IN ULONG BaudRate)
VOID Rs232PortPutByte(UCHAR ByteToSend)
BOOLEAN Rs232PortGetByte(PUCHAR ByteReceived)
static struct @4300 Rs232ComPort[]
VOID NTAPI CpPutByte(IN PCPPORT Port, IN UCHAR Byte)
NTSTATUS NTAPI CpInitialize(IN PCPPORT Port, IN PUCHAR Address, IN ULONG BaudRate)
USHORT NTAPI CpGetByte(IN PCPPORT Port, OUT PUCHAR Byte, IN BOOLEAN Wait, IN BOOLEAN Poll)
BOOLEAN NTAPI CpDoesPortExist(IN PUCHAR Address)
#define NT_SUCCESS(StatCode)
BOOLEAN Rs232PortInUse(PUCHAR Base)
static const ULONG BaseArray[]
#define DEFAULT_BAUD_RATE