mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 01:52:39 +03:00
[Serial] Split serial console from serial driver
This commit is contained in:
committed by
Michael Brown
parent
f866b17998
commit
831db76ff7
@@ -22,8 +22,9 @@ struct init_fn {
|
||||
*/
|
||||
|
||||
#define INIT_EARLY 01 /**< Early initialisation */
|
||||
#define INIT_CONSOLE 02 /**< Console initialisation */
|
||||
#define INIT_NORMAL 03 /**< Normal initialisation */
|
||||
#define INIT_SERIAL 02 /**< Serial driver initialisation */
|
||||
#define INIT_CONSOLE 03 /**< Console initialisation */
|
||||
#define INIT_NORMAL 04 /**< Normal initialisation */
|
||||
|
||||
/** @} */
|
||||
|
||||
|
||||
14
src/include/gpxe/serial.h
Normal file
14
src/include/gpxe/serial.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef _GPXE_SERIAL_H
|
||||
#define _GPXE_SERIAL_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Serial driver functions
|
||||
*
|
||||
*/
|
||||
|
||||
extern void serial_putc ( int ch );
|
||||
extern int serial_getc ( void );
|
||||
extern int serial_ischar ( void );
|
||||
|
||||
#endif /* _GPXE_SERIAL_H */
|
||||
Reference in New Issue
Block a user