1 #ifndef __UART_H_LOADED
2 #define __UART_H_LOADED
3 /*****************************************************************************
5 Copyright © 1993, 1994 Digital Equipment Corporation,
6 Maynard, Massachusetts.
10 Permission to use, copy, modify, and distribute this software and its
11 documentation for any purpose and without fee is hereby granted, provided
12 that the copyright notice and this permission notice appear in all copies
13 of software and supporting documentation, and that the name of Digital not
14 be used in advertising or publicity pertaining to distribution of the software
15 without specific, written prior permission. Digital grants this permission
16 provided that you prominently mark, as not part of the original, any
17 modifications made to this software or documentation.
19 Digital Equipment Corporation disclaims all warranties and/or guarantees
20 with regard to this software, including all implied warranties of fitness for
21 a particular purpose and merchantability, and makes no representations
22 regarding the use of, or the results of the use of, the software and
23 documentation in terms of correctness, accuracy, reliability, currentness or
24 otherwise; and you rely on the software, documentation and results solely at
27 ******************************************************************************/
53 #define COM1 (com1Rbr - com2Rbr)
58 extern int uart_charav(int port
);
59 extern int uart_getchar(int port
);
60 extern void uart_putchar_raw(int port
, char c
);
61 extern void uart_putchar(int port
, char c
);
62 extern void uart_puts(int port
, const char *s
);
63 extern void uart_init_line(int port
, int baud
);
64 extern void uart_init(void);
66 #endif /* __ASSEMBLER__ */
67 #endif /* __UART_H_LOADED */