Selaa lähdekoodia

[console] Tidy up config/console.h

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 vuotta sitten
vanhempi
commit
bede691986
1 muutettua tiedostoa jossa 39 lisäystä ja 7 poistoa
  1. 39
    7
      src/config/console.h

+ 39
- 7
src/config/console.h Näytä tiedosto

@@ -5,7 +5,7 @@
5 5
  *
6 6
  * Console configuration
7 7
  *
8
- * These options specify the console types that Etherboot will use for
8
+ * These options specify the console types that iPXE will use for
9 9
  * interaction with the user.
10 10
  *
11 11
  */
@@ -14,19 +14,51 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
14 14
 
15 15
 #include <config/defaults.h>
16 16
 
17
-//#define	CONSOLE_PCBIOS		/* Default BIOS console */
18
-//#define	CONSOLE_SERIAL		/* Serial port */
19
-//#define	CONSOLE_DIRECT_VGA	/* Direct access to VGA card */
20
-//#define	CONSOLE_PC_KBD		/* Direct access to PC keyboard */
17
+/*
18
+ * Default console types
19
+ *
20
+ * These are all enabled by default for the appropriate platforms.
21
+ * You may disable them if needed.
22
+ *
23
+ */
24
+
25
+//#undef	CONSOLE_PCBIOS		/* Default BIOS console */
26
+//#undef	CONSOLE_EFI		/* Default EFI console */
27
+//#undef	CONSOLE_LINUX		/* Default Linux console */
28
+
29
+/*
30
+ * Additional console types
31
+ *
32
+ * These are not enabled by default, but may be useful in your
33
+ * environment.
34
+ *
35
+ */
36
+
37
+//#define	CONSOLE_SERIAL		/* Serial port console */
38
+//#define	CONSOLE_VESAFB		/* VESA framebuffer console */
21 39
 //#define	CONSOLE_SYSLOG		/* Syslog console */
22 40
 //#define	CONSOLE_SYSLOGS		/* Encrypted syslog console */
23 41
 //#define	CONSOLE_VMWARE		/* VMware logfile console */
24
-//#define	CONSOLE_DEBUGCON	/* Debug port console */
25
-//#define	CONSOLE_VESAFB		/* VESA framebuffer console */
42
+//#define	CONSOLE_DEBUGCON	/* Bochs/QEMU/KVM debug port console */
26 43
 //#define	CONSOLE_INT13		/* INT13 disk log console */
27 44
 
45
+/*
46
+ * Very obscure console types
47
+ *
48
+ * You almost certainly do not need to enable these.
49
+ *
50
+ */
51
+
52
+//#define	CONSOLE_DIRECT_VGA	/* Direct access to VGA card */
53
+//#define	CONSOLE_PC_KBD		/* Direct access to PC keyboard */
54
+
55
+/* Keyboard map (available maps in hci/keymap/) */
28 56
 #define	KEYBOARD_MAP	us
29 57
 
58
+/* Control which syslog() messages are generated.
59
+ *
60
+ * Note that this is not related in any way to CONSOLE_SYSLOG.
61
+ */
30 62
 #define	LOG_LEVEL	LOG_NONE
31 63
 
32 64
 #include <config/named.h>

Loading…
Peruuta
Tallenna