On 1 February 2016 at 19:45, Alexander Graf <ag...@suse.de> wrote: > One of the basic EFI interfaces is the console interface. Using it an EFI > application can interface with the user. This patch implements an EFI console > interface using getc() and putc(). > > Today, we only implement text based consoles. We also convert the EFI Unicode > characters to UTF-8 on the fly, hoping that everyone managed to jump on the > train by now. > > Signed-off-by: Alexander Graf <ag...@suse.de> > Reviewed-by: Simon Glass <s...@chromium.org> > > --- > > v1 -> v2: > > - Move to GPLv2+ > > v2 -> v3: > > - Add EFIAPI to function prototypes > --- > include/efi_loader.h | 5 + > lib/efi_loader/efi_console.c | 360 > +++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 365 insertions(+) > create mode 100644 lib/efi_loader/efi_console.c
Tested on Beaglebone Black and Minnowboard MAX: Tested-by: Simon Glass <s...@chromium.org> I note that cout_enable_cursor() seems to be implemented but returns unimplemented. Is that right? - Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot