[PATCH 0/2] efi: fix and test hii keyboard layout pointer computation
Vincent Stehlé
vincent.stehle at arm.com
Tue May 12 19:40:32 CEST 2026
- Fix one scaled pointer arithmetic bug in EFI Loader HII implementation.
- Enhance the existing EFI HII unit test to catch the bug.
The unit test can run on the sandbox with the following command:
./u-boot -T -c "setenv efi_selftest HII database protocols; \
bootefi selftest"
Signed-off-by: Vincent Stehlé <vincent.stehle at arm.com>
---
Vincent Stehlé (2):
efi_loader: fix hii keyboard layout pointer computation
efi_selftest: test hii keyboard layouts more
lib/efi_loader/efi_hii.c | 3 +-
lib/efi_selftest/efi_selftest_hii.c | 67 ++++++++++++++++++--------------
lib/efi_selftest/efi_selftest_hii_data.c | 12 ++++++
3 files changed, 51 insertions(+), 31 deletions(-)
---
base-commit: 5732bd0f457b4c671e46574d64d4acb099c0f0a5
change-id: 20260512-layout-pointer-29d1cd52c070
Best regards,
--
Vincent.
More information about the U-Boot
mailing list