u-boot/arch/x86
Simon Glass 1834c081d3 efi: Add video support to the app
The current EFI video driver only works when running in the stub. In that
case the stub calls boot services (before jumping to U-Boot proper) and
copies the graphics info over to the efi table. This is necessary because
the stub exits boot services before jumping to U-Boot.

The app maintains access to boot services throughout its life, so does not
need to do this. Update the driver to support calling boot services
directly.

Enable video output for the app. Note that this uses the
EFI_GRAPHICS_OUTPUT_PROTOCOL protocol, even though it mentions vesa.

A sample qemu command-line for this case is:

   qemu-system-x86_64 -bios /usr/share/edk2.git/ovmf-ia32/OVMF-pure-efi.fd
   -drive id=disk,file=try.img,if=none,format=raw -nic none
   -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-11-07 18:36:55 +01:00
..
cpu x86: Don't duplicate global_ptr in 64-bit EFI app 2021-11-07 18:36:55 +01:00
dts efi: Add video support to the app 2021-11-07 18:36:55 +01:00
include/asm x86: Fix i8254 ifdef include guard 2021-11-01 09:50:55 +08:00
lib x86: Show some EFI info with the bdinfo command 2021-10-21 03:46:03 +02:00
config.mk x86: Keep symbol information in u-boot ELF file 2021-10-21 03:46:03 +02:00
Kconfig Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00