diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/init.h | 5 | ||||
| -rw-r--r-- | src/include/gpxe/serial.h | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/src/include/gpxe/init.h b/src/include/gpxe/init.h index d83aa5e55..c468213e1 100644 --- a/src/include/gpxe/init.h +++ b/src/include/gpxe/init.h @@ -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 */ /** @} */ diff --git a/src/include/gpxe/serial.h b/src/include/gpxe/serial.h new file mode 100644 index 000000000..2825b9369 --- /dev/null +++ b/src/include/gpxe/serial.h @@ -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 */ |
