Improvements in COM port support

This commit is contained in:
2023-01-02 16:14:00 +01:00
parent e8e7d7b905
commit c5a7d0fe05
4 changed files with 88 additions and 84 deletions

View File

@@ -26,13 +26,13 @@ HlComPortGetByte(IN PCPPORT Port,
IN BOOLEAN Poll);
XTCDECL
UCHAR
HlComPortReadLsr(IN PCPPORT Port,
XTSTATUS
HlComPortPutByte(IN PCPPORT Port,
IN UCHAR Byte);
XTCDECL
XTSTATUS
HlComPortPutByte(IN PCPPORT Port,
UCHAR
HlComPortReadLsr(IN PCPPORT Port,
IN UCHAR Byte);
XTCDECL

View File

@@ -88,7 +88,7 @@
#define COMPORT_REG_MCR 0x04 /* Modem Control Register */
#define COMPORT_REG_LSR 0x05 /* Line Status Register */
#define COMPORT_REG_MSR 0x06 /* Modem Status Register */
#define COMPROT_REG_SR 0x07 /* Scratch Register */
#define COMPORT_REG_SR 0x07 /* Scratch Register */
/* Serial (COM) port initial state */
typedef struct _CPPORT