diff options
author | Michael Brown | 2013-11-27 20:42:23 +0100 |
---|---|---|
committer | Michael Brown | 2013-11-28 06:55:43 +0100 |
commit | c501c980e0c2a0bf63b88fab6beea249690d05a9 (patch) | |
tree | 0ea9cb9d11063f1a1837c04de0e2e0db7e65a845 /src/core/init.c | |
parent | [console] Allow console input and output to be disabled independently (diff) | |
download | ipxe-c501c980e0c2a0bf63b88fab6beea249690d05a9.tar.gz ipxe-c501c980e0c2a0bf63b88fab6beea249690d05a9.tar.xz ipxe-c501c980e0c2a0bf63b88fab6beea249690d05a9.zip |
[console] Add concept of generic console configuration
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/init.c')
-rw-r--r-- | src/core/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/init.c b/src/core/init.c index 56274419..7ea0730f 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -20,6 +20,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <ipxe/device.h> +#include <ipxe/console.h> #include <ipxe/init.h> /** @file @@ -95,5 +96,8 @@ void shutdown ( int flags ) { startup_fn->shutdown ( flags ); } + /* Reset console */ + console_reset(); + started = 0; } |