[PATCH 00/15] efi: loader preparatory patches
Ahmad Fatoum
a.fatoum at barebox.org
Tue May 27 14:22:45 PDT 2025
A random collection of patches in preparation for EFI loader support.
Ahmad Fatoum (15):
lib: wchar: add wide char string comparison functions
ARM: select HW_HAS_PCI architecture wide
efi: types: define efi_char16_t as wchar_t
efi: types: document efi_physical_addr_t being always 64-bit
efi: payload: early-mem: EFI_ALLOCATE_ANY_PAGES on non-x86
string: implement kmemdup_nul
efi: types: implement efi_phys_to_virt/efi_virt_to_phys helpers
efi: return pointer from efi_earlymem_alloc
efi: payload: image: use new efi_phys_to_virt helper
efi: payload: iomem: use virt_start if set
efi: use size_t for UINTN array sizes instead of unsigned long
efi: payload: unify duplicate code in ifdef
efi: payload: use efi_virt_to_phys instead of pointer to u64 casts
clocksource: efi: use DIV_ROUND_DOWN_ULL for 64-bit devision
efi: payload: use ktime_to_us to avoid plain 64-bit division
arch/arm/Kconfig | 5 +---
arch/arm/mach-imx/Kconfig | 3 ---
arch/arm/mach-rockchip/Kconfig | 2 --
commands/efi_handle_dump.c | 8 +++----
drivers/clocksource/efi.c | 2 +-
drivers/efi/efi-device.c | 17 +++++++-------
drivers/efi/efi-handle.c | 4 ++--
drivers/serial/serial_efi.c | 10 ++++----
drivers/video/efi_gop.c | 10 ++++----
efi/payload/early-mem.c | 17 +++++++++-----
efi/payload/entry-multi.c | 4 ++--
efi/payload/entry-single.c | 4 ++--
efi/payload/image.c | 38 ++++++++++++------------------
efi/payload/init.c | 7 +++---
efi/payload/iomem.c | 11 +++++----
fs/efi.c | 12 +++++-----
fs/efivarfs.c | 6 ++---
include/efi.h | 32 +++++++++++++-------------
include/efi/efi-device.h | 2 +-
include/efi/efi-payload.h | 5 ++--
include/efi/types.h | 21 +++++++++++++++--
include/linux/string.h | 6 +++++
include/wchar.h | 3 +++
lib/string.c | 42 +++++++++++++++++++++-------------
lib/wchar.c | 26 +++++++++++++++++++++
25 files changed, 173 insertions(+), 124 deletions(-)
--
2.39.5
More information about the barebox
mailing list