summaryrefslogtreecommitdiffstats
path: root/src/arch/x86
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/x86
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/x86')
-rw-r--r--src/arch/x86/core/debugcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/core/debugcon.c b/src/arch/x86/core/debugcon.c
index b89480aa5..263cb4af1 100644
--- a/src/arch/x86/core/debugcon.c
+++ b/src/arch/x86/core/debugcon.c
@@ -74,7 +74,7 @@ static void debugcon_init ( void ) {
check = inb ( DEBUG_PORT );
if ( check != DEBUG_PORT_CHECK ) {
DBG ( "Debug port not present; disabling console\n" );
- debugcon_console.disabled = 1;
+ debugcon_console.disabled = CONSOLE_DISABLED;
}
}