[console] Add concept of generic console configuration

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-11-28 05:55:43 +00:00
parent b2251743d8
commit c501c980e0
5 changed files with 61 additions and 0 deletions
+4
View File
@@ -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;
}