summaryrefslogtreecommitdiffstats
path: root/src/interface/efi/efi_snp.c
diff options
context:
space:
mode:
authorMichael Brown2015-10-05 20:19:26 +0200
committerMichael Brown2015-10-16 17:38:41 +0200
commit6847232e70f7fbff2f5637505a85532ec752a11f (patch)
tree40e47f2893a95da42b8ab0eeaf770c5abd399870 /src/interface/efi/efi_snp.c
parent[build] Generalise CONSOLE_VESAFB to CONSOLE_FRAMEBUFFER (diff)
downloadipxe-6847232e70f7fbff2f5637505a85532ec752a11f.tar.gz
ipxe-6847232e70f7fbff2f5637505a85532ec752a11f.tar.xz
ipxe-6847232e70f7fbff2f5637505a85532ec752a11f.zip
[efi] Add support for EFI_GRAPHICS_OUTPUT_PROTOCOL frame buffer consoles
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_snp.c')
-rw-r--r--src/interface/efi/efi_snp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interface/efi/efi_snp.c b/src/interface/efi/efi_snp.c
index 09a1bf4c7..4508967e6 100644
--- a/src/interface/efi/efi_snp.c
+++ b/src/interface/efi/efi_snp.c
@@ -28,6 +28,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/iobuf.h>
#include <ipxe/in.h>
#include <ipxe/version.h>
+#include <ipxe/console.h>
#include <ipxe/efi/efi.h>
#include <ipxe/efi/efi_driver.h>
#include <ipxe/efi/efi_strings.h>
@@ -1495,6 +1496,9 @@ efi_snp_load_file ( EFI_LOAD_FILE_PROTOCOL *load_file,
if ( ( rc = ipxe ( netdev ) ) != 0 )
goto err_ipxe;
+ /* Reset console */
+ console_reset();
+
err_ipxe:
efi_watchdog_stop();
efi_snp_release();