u-boot/lib/efi_loader
Ilias Apalodimas 530e869ff8 efi_loader: remove comparisons to string literals from runtime
For EFI runtime services, we manage to preserve string literals
by placing the .efi_runtime section just before .data and preserving
it when marking the runtime memory by marking surrounding boottime
code as runtime. This is ok for now but will break if we update any
linker scripts and decouple .text and .runtime sections.

So let's define the strings we used to compare in the appropriate
section for runtime services

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2025-02-20 09:22:53 +01:00
..
.gitignore efi_loader: git ignore helloworld_efi.S 2020-01-07 18:08:20 +01:00
boothart.c efi_loader: add an EFI binary to print boot hart ID 2022-12-02 19:17:24 +01:00
capsule_esl.dtsi.in efi_loader: Fix capsule_esl.dtsi.in comment style 2024-06-10 15:05:09 +02:00
dtbdump.c efi_loader: Mark static function in dumpdtb 2024-10-30 21:45:39 +01:00
efi_acpi.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_bootbin.c bootmeth_efi: Support PXE booting 2025-01-26 11:06:57 +01:00
efi_bootmgr.c net: wget: let wget_with_dns work with dns disabled 2024-12-04 12:24:37 +01:00
efi_boottime.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_capsule.c fwu: print a message if empty capsule checks fail 2024-09-19 10:52:50 +03:00
efi_conformance.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_console.c Prepare v2024.10-rc6 2024-09-30 17:48:12 -06:00
efi_device_path.c Pull request efi-next-2024-12-04 2024-12-04 11:56:00 -06:00
efi_device_path_to_text.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_device_path_utilities.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_disk.c efi_loader: Fix potential deref-after-null 2025-02-20 09:04:12 +01:00
efi_dt_fixup.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_esrt.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_fdt.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_file.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_firmware.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_freestanding.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_gop.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_helper.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_hii.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_hii_config.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_http.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_image_loader.c efi_loader: fix pe reloc pointer overrun 2025-01-05 02:30:48 +01:00
efi_ipconfig.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_load_initrd.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_load_options.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_memory.c lmb: Remove lmb_alloc_base_flags() 2024-12-30 13:21:55 -06:00
efi_net.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_riscv.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_rng.c efi_loader: fix some function descriptions 2024-09-21 10:54:42 +02:00
efi_root_node.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_runtime.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_setup.c efi_loader: avoid #ifdef in efi_setup.c 2024-10-18 16:17:29 +02:00
efi_signature.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_smbios.c smbios: copy QEMU tables 2024-01-16 17:05:29 -05:00
efi_string.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_tcg2.c tcg2: decouple eventlog size from efi 2025-01-28 08:59:23 +02:00
efi_unicode_collation.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_var_common.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
efi_var_file.c efi_loader: reduce noisiness if ESP is missing 2024-10-18 16:17:29 +02:00
efi_var_mem.c efi_loader: remove comparisons to string literals from runtime 2025-02-20 09:22:53 +01:00
efi_var_seed.S efi_loader: pre-seed UEFI variables 2020-07-16 12:37:02 +02:00
efi_variable.c include: export uuid.h 2024-09-12 17:35:37 +02:00
efi_variable_tee.c efi_loader: remove comparisons to string literals from runtime 2025-02-20 09:22:53 +01:00
efi_watchdog.c efi_loader: use LOGC_EFI consistently 2025-01-26 11:06:56 +01:00
elf_efi.ldsi efi_loader: use INCLUDE in EFI linker scripts 2025-01-17 20:31:26 +01:00
helloworld.c efi_loader: Show FirmwareVendor and FirmwareRevision in helloworld 2024-10-09 22:04:56 -06:00
initrddump.c efi_loader: rename struct efi_initrd_dp to efi_lo_dp_prefix 2024-06-10 11:43:37 +02:00
Kconfig tcg2: decouple eventlog size from efi 2025-01-28 08:59:23 +02:00
Makefile efi_loader: efi_net: add EFI_HTTP_PROTOCOL 2024-12-04 12:24:38 +01:00
smbiosdump.c efi_loader: Mark static functions in smbiosdump 2024-10-30 21:45:51 +01:00
testapp.c efi_loader: Add a test app 2024-11-09 09:59:41 +01:00