iPXE
serial.h
Go to the documentation of this file.
1 #ifndef CONFIG_SERIAL_H
2 #define CONFIG_SERIAL_H
3 
4 /** @file
5  *
6  * Serial port configuration
7  *
8  * These options affect the operation of the serial console. They
9  * take effect only if the serial console is included using the
10  * CONSOLE_SERIAL option.
11  *
12  */
13 
14 FILE_LICENCE ( GPL2_OR_LATER );
15 
16 #define COMCONSOLE COM1 /* I/O port address */
17 
18 /* Keep settings from a previous user of the serial port (e.g. lilo or
19  * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
20  */
21 #undef COMPRESERVE
22 
23 #ifndef COMPRESERVE
24 #define COMSPEED 115200 /* Baud rate */
25 #define COMDATA 8 /* Data bits */
26 #define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
27 #define COMSTOP 1 /* Stop bits */
28 #endif
29 
30 #include <config/named.h>
31 #include NAMED_CONFIG(serial.h)
32 #include <config/local/serial.h>
33 #include LOCAL_NAMED_CONFIG(serial.h)
34 
35 #endif /* CONFIG_SERIAL_H */
Named configurations.
FILE_LICENCE(GPL2_OR_LATER)