2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-03-12 15:16:46 +00:00
xNBA/src/include/ipxe/serial.h
Shao Miller a712dae709 [serial] Don't enable serial console without serial support
serial_console_init() would enable serial console support without
knowing if the serial driver succeeded or not.  As a result, the
serial console would interfere with a normal keyboard on a system
lacking serial support.

Reported-by: Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
Signed-off-by: Shao Miller <sha0.miller@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-10-05 15:18:57 +01:00

18 lines
292 B
C

#ifndef _IPXE_SERIAL_H
#define _IPXE_SERIAL_H
/** @file
*
* Serial driver functions
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
extern void serial_putc ( int ch );
extern int serial_getc ( void );
extern int serial_ischar ( void );
extern int serial_initialized;
#endif /* _IPXE_SERIAL_H */