Ver código fonte

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 12 anos atrás
pai
commit
82ecaaac91

+ 1
- 1
src/arch/i386/core/video_subr.c Ver arquivo

@@ -17,7 +17,7 @@
17 17
 #if ! ( defined ( CONSOLE_DIRECT_VGA ) && \
18 18
 	CONSOLE_EXPLICIT ( CONSOLE_DIRECT_VGA ) )
19 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 21
 #endif
22 22
 
23 23
 struct console_driver vga_console __console_driver;

+ 1
- 1
src/arch/i386/firmware/pcbios/bios_console.c Ver arquivo

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

+ 1
- 1
src/core/serial_console.c Ver arquivo

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

+ 1
- 1
src/interface/efi/efi_console.c Ver arquivo

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

+ 1
- 1
src/interface/linux/linux_console.c Ver arquivo

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

Carregando…
Cancelar
Salvar