[U-Boot] [PATCH 0/2] efi_loader: updating the cursor position

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Apr 29 14:24:24 UTC 2018


The current updating of the cursor position does not conform with the
UEFI spec.

The current coding advances the column by the number of UTF-8 bytes.
The column should be increased by one per unicode character.

The UEFI spec provides advance rules for U+0000, U+0008, U+000A,
and U000D. All other characters, including control characters
U+0007 (bel) and U+0009 (tab), have to increase the column by one.

The patch series adjusts the column update and provides unit testing.

Heinrich Schuchardt (2):
  efi_loader: updating the cursor position
  efi_selftest: updating the cursor position

 lib/efi_loader/efi_console.c               | 27 ++++++++---
 lib/efi_selftest/efi_selftest_textoutput.c | 78 ++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+), 8 deletions(-)

-- 
2.14.2



More information about the U-Boot mailing list