summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/core/video_subr.c
diff options
context:
space:
mode:
authorMichael Brown2013-11-28 06:41:45 +0100
committerMichael Brown2013-11-28 06:54:53 +0100
commitb2251743d80f94445f40f64b75b63d33fe1d8725 (patch)
tree9c1424242dc2a1a6508bf3e7a723cadf4632f1de /src/arch/i386/core/video_subr.c
parent[mucurses] Use "<ESC>[2J" ANSI escape sequence to clear screen (diff)
downloadipxe-b2251743d80f94445f40f64b75b63d33fe1d8725.tar.gz
ipxe-b2251743d80f94445f40f64b75b63d33fe1d8725.tar.xz
ipxe-b2251743d80f94445f40f64b75b63d33fe1d8725.zip
[console] Allow console input and output to be disabled independently
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/core/video_subr.c')
-rw-r--r--src/arch/i386/core/video_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/core/video_subr.c b/src/arch/i386/core/video_subr.c
index 306c6d56..3f701bd9 100644
--- a/src/arch/i386/core/video_subr.c
+++ b/src/arch/i386/core/video_subr.c
@@ -104,7 +104,7 @@ static void vga_putc(int byte)
struct console_driver vga_console __console_driver = {
.putchar = vga_putc,
- .disabled = 1,
+ .disabled = CONSOLE_DISABLED,
.usage = CONSOLE_DIRECT_VGA,
};