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
14FILE_LICENCE ( GPL2_OR_LATER );
15
16#include <config/defaults.h>
17
18#define COMCONSOLE COM1 /* I/O port address */
19
20/* Keep settings from a previous user of the serial port (e.g. lilo or
21 * LinuxBIOS), ignoring COMSPEED.
22 */
23#undef COMPRESERVE
24
25#ifndef COMPRESERVE
26#define COMSPEED 115200 /* Baud rate */
27#endif
28
29/* Uncomment these to ignore the ACPI SPCR table (if present) */
30//#undef SERIAL_SPCR
31//#define SERIAL_FIXED
32
33/* Early UART configuration (for bare metal prefix debugging only) */
34//#define EARLY_UART_MODEL 8250
35//#define EARLY_UART_REG_BASE 0x10000000
36//#define EARLY_UART_REG_SHIFT 0
37
38#include <config/named.h>
39#include NAMED_CONFIG(serial.h)
40#include <config/local/serial.h>
41#include LOCAL_NAMED_CONFIG(serial.h)
42
43#endif /* CONFIG_SERIAL_H */
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
Named configurations.