[U-Boot] [PATCH 05/16] efi_loader: Add console interface
Simon Glass
sjg at chromium.org
Wed Feb 3 04:31:24 CET 2016
On 1 February 2016 at 19:45, Alexander Graf <agraf at 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 <agraf at suse.de>
> Reviewed-by: Simon Glass <sjg at 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 <sjg at chromium.org>
I note that cout_enable_cursor() seems to be implemented but returns
unimplemented. Is that right?
- Simon
More information about the U-Boot
mailing list