mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +03:00
[serial] Use new UART abstraction in serial console driver
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -26,10 +26,9 @@ struct init_fn {
|
||||
*/
|
||||
|
||||
#define INIT_EARLY 01 /**< Early initialisation */
|
||||
#define INIT_SERIAL 02 /**< Serial driver initialisation */
|
||||
#define INIT_CONSOLE 03 /**< Console initialisation */
|
||||
#define INIT_NORMAL 04 /**< Normal initialisation */
|
||||
#define INIT_LATE 05 /**< Late initialisation */
|
||||
#define INIT_CONSOLE 02 /**< Console initialisation */
|
||||
#define INIT_NORMAL 03 /**< Normal initialisation */
|
||||
#define INIT_LATE 04 /**< Late initialisation */
|
||||
|
||||
/** @} */
|
||||
|
||||
|
||||
@@ -3,15 +3,14 @@
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Serial driver functions
|
||||
* Serial console
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
|
||||
extern void serial_putc ( int ch );
|
||||
extern int serial_getc ( void );
|
||||
extern int serial_ischar ( void );
|
||||
extern int serial_initialized;
|
||||
#include <ipxe/uart.h>
|
||||
|
||||
extern struct uart serial_console;
|
||||
|
||||
#endif /* _IPXE_SERIAL_H */
|
||||
|
||||
Reference in New Issue
Block a user