diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-02-20 13:20:59 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-06-01 09:11:26 -0700 |
commit | 9fa7dedad3d30345c843bd82db02c4d6169e5f61 (patch) | |
tree | 8f7563d8e33e7faf4def6f58a44de664e0f106bc /arch/x86/boot/compressed/eboot.h | |
parent | x86, efi: Only close open files in error path (diff) | |
download | linux-dev-9fa7dedad3d30345c843bd82db02c4d6169e5f61.tar.xz linux-dev-9fa7dedad3d30345c843bd82db02c4d6169e5f61.zip |
x86, efi; Add EFI boot stub console support
We need a way of printing useful messages to the user, for example
when we fail to open an initrd file, instead of just hanging the
machine without giving the user any indication of what went wrong. So
sprinkle some error messages throughout the EFI boot stub code to make
it easier for users to diagnose/report problems.
Reported-by: Keshav P R <the.ridikulus.rat@gmail.com>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Link: http://lkml.kernel.org/r/1331907517-3985-3-git-send-email-matt@console-pimps.org
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to '')
-rw-r--r-- | arch/x86/boot/compressed/eboot.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/eboot.h b/arch/x86/boot/compressed/eboot.h index 39251663e65b..3b6e15627c55 100644 --- a/arch/x86/boot/compressed/eboot.h +++ b/arch/x86/boot/compressed/eboot.h @@ -58,4 +58,10 @@ struct efi_uga_draw_protocol { void *blt; }; +struct efi_simple_text_output_protocol { + void *reset; + void *output_string; + void *test_string; +}; + #endif /* BOOT_COMPRESSED_EBOOT_H */ |