Browse Source

[console] Remove "log message" usage from interactive console defaults

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 12 years ago
parent
commit
82ecaaac91

+ 1
- 1
src/arch/i386/core/video_subr.c View File

17
 #if ! ( defined ( CONSOLE_DIRECT_VGA ) && \
17
 #if ! ( defined ( CONSOLE_DIRECT_VGA ) && \
18
 	CONSOLE_EXPLICIT ( CONSOLE_DIRECT_VGA ) )
18
 	CONSOLE_EXPLICIT ( CONSOLE_DIRECT_VGA ) )
19
 #undef CONSOLE_DIRECT_VGA
19
 #undef CONSOLE_DIRECT_VGA
20
-#define CONSOLE_DIRECT_VGA CONSOLE_USAGE_ALL
20
+#define CONSOLE_DIRECT_VGA ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG )
21
 #endif
21
 #endif
22
 
22
 
23
 struct console_driver vga_console __console_driver;
23
 struct console_driver vga_console __console_driver;

+ 1
- 1
src/arch/i386/firmware/pcbios/bios_console.c View File

52
 /* Set default console usage if applicable */
52
 /* Set default console usage if applicable */
53
 #if ! ( defined ( CONSOLE_PCBIOS ) && CONSOLE_EXPLICIT ( CONSOLE_PCBIOS ) )
53
 #if ! ( defined ( CONSOLE_PCBIOS ) && CONSOLE_EXPLICIT ( CONSOLE_PCBIOS ) )
54
 #undef CONSOLE_PCBIOS
54
 #undef CONSOLE_PCBIOS
55
-#define CONSOLE_PCBIOS CONSOLE_USAGE_ALL
55
+#define CONSOLE_PCBIOS ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG )
56
 #endif
56
 #endif
57
 
57
 
58
 /** Current character attribute */
58
 /** Current character attribute */

+ 1
- 1
src/core/serial_console.c View File

12
 /* Set default console usage if applicable */
12
 /* Set default console usage if applicable */
13
 #if ! ( defined ( CONSOLE_SERIAL ) && CONSOLE_EXPLICIT ( CONSOLE_SERIAL ) )
13
 #if ! ( defined ( CONSOLE_SERIAL ) && CONSOLE_EXPLICIT ( CONSOLE_SERIAL ) )
14
 #undef CONSOLE_SERIAL
14
 #undef CONSOLE_SERIAL
15
-#define CONSOLE_SERIAL CONSOLE_USAGE_ALL
15
+#define CONSOLE_SERIAL ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG )
16
 #endif
16
 #endif
17
 
17
 
18
 struct console_driver serial_console __console_driver;
18
 struct console_driver serial_console __console_driver;

+ 1
- 1
src/interface/efi/efi_console.c View File

52
 /* Set default console usage if applicable */
52
 /* Set default console usage if applicable */
53
 #if ! ( defined ( CONSOLE_EFI ) && CONSOLE_EXPLICIT ( CONSOLE_EFI ) )
53
 #if ! ( defined ( CONSOLE_EFI ) && CONSOLE_EXPLICIT ( CONSOLE_EFI ) )
54
 #undef CONSOLE_EFI
54
 #undef CONSOLE_EFI
55
-#define CONSOLE_EFI CONSOLE_USAGE_ALL
55
+#define CONSOLE_EFI ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG )
56
 #endif
56
 #endif
57
 
57
 
58
 /** Current character attribute */
58
 /** Current character attribute */

+ 1
- 1
src/interface/linux/linux_console.c View File

38
 /* Set default console usage if applicable */
38
 /* Set default console usage if applicable */
39
 #if ! ( defined ( CONSOLE_LINUX ) && CONSOLE_EXPLICIT ( CONSOLE_LINUX ) )
39
 #if ! ( defined ( CONSOLE_LINUX ) && CONSOLE_EXPLICIT ( CONSOLE_LINUX ) )
40
 #undef CONSOLE_LINUX
40
 #undef CONSOLE_LINUX
41
-#define CONSOLE_LINUX CONSOLE_USAGE_ALL
41
+#define CONSOLE_LINUX ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG )
42
 #endif
42
 #endif
43
 
43
 
44
 static void linux_console_putchar(int c)
44
 static void linux_console_putchar(int c)

Loading…
Cancel
Save