[U-Boot] [PATCH 05/14] efi_loader: Add console interface

Simon Glass sjg at chromium.org
Sun Jan 31 16:19:59 CET 2016


On 14 January 2016 at 22:06, 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>
>
> ---
>
> v1 -> v2:
>
>   - Move to GPLv2+
> ---
>  include/efi_loader.h         |   5 +
>  lib/efi_loader/efi_console.c | 357 +++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 362 insertions(+)
>  create mode 100644 lib/efi_loader/efi_console.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list