diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-10-05 19:19:26 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-10-16 16:38:41 +0100 |
commit | 6847232e70f7fbff2f5637505a85532ec752a11f (patch) | |
tree | 40e47f2893a95da42b8ab0eeaf770c5abd399870 /src/image/efi_image.c | |
parent | 4b7443d132d4d889618588d78ed111099f16c6f9 (diff) | |
download | ipxe-6847232e70f7fbff2f5637505a85532ec752a11f.tar.gz |
[efi] Add support for EFI_GRAPHICS_OUTPUT_PROTOCOL frame buffer consoles
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image/efi_image.c')
-rw-r--r-- | src/image/efi_image.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/image/efi_image.c b/src/image/efi_image.c index 79dfe0664..47580c0db 100644 --- a/src/image/efi_image.c +++ b/src/image/efi_image.c @@ -34,6 +34,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <ipxe/init.h> #include <ipxe/features.h> #include <ipxe/uri.h> +#include <ipxe/console.h> FEATURE ( FEATURE_IMAGE, "EFI", DHCP_EB_FEATURE_EFI, 1 ); @@ -236,6 +237,9 @@ static int efi_image_exec ( struct image *image ) { /* Wrap calls made by the loaded image (for debugging) */ efi_wrap ( handle ); + /* Reset console since image will probably use it */ + console_reset(); + /* Start the image */ if ( ( efirc = bs->StartImage ( handle, NULL, NULL ) ) != 0 ) { rc = -EEFI_START ( efirc ); |