blob: 8132e864462fe52f4fc4124f69aeea0656fa729a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
#ifndef CONFIG_CONSOLE_H
#define CONFIG_CONSOLE_H
/** @file
*
* Console configuration
*
* These options specify the console types that iPXE will use for
* interaction with the user.
*
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
FILE_SECBOOT ( PERMITTED );
#include <config/defaults.h>
/*****************************************************************************
*
* Console types
*
*/
/* Console types supported on all platforms */
#define CONSOLE_FRAMEBUFFER /* Graphical framebuffer console */
#define CONSOLE_SYSLOG /* Syslog console */
#define CONSOLE_SYSLOGS /* Encrypted syslog console */
/* Console types supported only on systems with serial ports */
#if ! defined ( SERIAL_NULL )
//#define CONSOLE_SERIAL /* Serial port console */
#endif
/* Console types supported only on BIOS platforms */
#if defined ( PLATFORM_pcbios )
//#define CONSOLE_INT13 /* INT13 disk log console */
#define CONSOLE_PCBIOS /* Default BIOS console */
#endif
/* Console types supported only on EFI platforms */
#if defined ( PLATFORM_efi )
#define CONSOLE_EFI /* Default EFI console */
#endif
/* Console types supported only on RISC-V SBI platforms */
#if defined ( PLATFORM_sbi )
#define CONSOLE_SBI /* RISC-V SBI debug console */
#endif
/* Console types supported only on Linux platforms */
#if defined ( PLATFORM_linux )
#define CONSOLE_LINUX /* Default Linux console */
#endif
/* Console types supported only on x86 CPUs */
#if defined ( __i386__ ) || defined ( __x86_64__ )
//#define CONSOLE_DEBUGCON /* Bochs/QEMU/KVM debug port console */
//#define CONSOLE_DIRECT_VGA /* Direct access to VGA card */
//#define CONSOLE_PC_KBD /* Direct access to PC keyboard */
//#define CONSOLE_VMWARE /* VMware logfile console */
#endif
/* Enable serial console on platforms that are typically headless */
#if defined ( CONSOLE_SBI )
#define CONSOLE_SERIAL
#endif
/* Disable console types not historically included in BIOS builds */
#if defined ( PLATFORM_pcbios )
#undef CONSOLE_FRAMEBUFFER
#undef CONSOLE_SYSLOG
#undef CONSOLE_SYSLOGS
#endif
/*****************************************************************************
*
* Keyboard maps
*
* See hci/keymap/keymap_*.c for available keyboard maps.
*
*/
#define KEYBOARD_MAP us /* Default US keyboard map */
//#define KEYBOARD_MAP dynamic /* Runtime selectable keyboard map */
/*****************************************************************************
*
* Log levels
*
* Control which syslog() messages are generated. Note that this is
* not related in any way to CONSOLE_SYSLOG.
*
*/
#define LOG_LEVEL LOG_NONE
#include <config/named.h>
#include NAMED_CONFIG(console.h)
#include <config/local/console.h>
#include LOCAL_NAMED_CONFIG(console.h)
#endif /* CONFIG_CONSOLE_H */
|