u-boot/lib
Simon Glass 06ef8089f8 efi: Correct smbios-table installation
At present this code allocates memory when writing the tables and
then unnecessarily adds another memory map when installing it.

Adjust the code to allocate the tables using the normal U-Boot
mechanism. This avoids doing an EFI memory allocation early in
U-Boot, which may use memory that would be overwritten by a
'load' command, for example.

Signed-off-by: Simon Glass <sjg@chromium.org>
2024-01-07 13:45:07 -07:00
..
acpi acpi: Write pointers to tables instead of addresses 2024-01-07 13:45:07 -07:00
aes lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
at91 lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
blake2 lib: add BLAKE2 hash support 2022-01-18 08:31:02 -05:00
bzip2 lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crypt lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crypto lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
dhry lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
ecdsa mkimage: ecdsa: password for signing from environment 2023-06-20 16:08:13 -04:00
efi lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
efi_driver lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
efi_loader efi: Correct smbios-table installation 2024-01-07 13:45:07 -07:00
efi_selftest lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
fwu_updates FWU: Avoid showing an unselectable menu option 2023-09-19 11:36:25 -04:00
libavb global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
libfdt fdt_region: move fdt_region.c to common/ from lib/libfdt/ 2020-04-26 14:23:55 -06:00
lzma lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lzo lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
optee lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rsa lib: rsa: Print detailed error info in rsa_engine_init() on engine resolution failure 2023-12-21 11:59:49 -05:00
zlib global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
zstd lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
.gitignore lib: ignore oid_registry_data.c file 2020-01-22 17:47:57 -05:00
abuf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
addr_map.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
aes.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
asm-offsets.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
asn1_decoder.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
bch.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
binman.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
bitrev.c lib: bitrev: Sync with Linux kernel v4.17 2018-09-18 00:01:18 -06:00
charset.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
circbuf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc7.c lib: add crc7 from Linux 2011-01-18 23:38:08 +01:00
crc8.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc16-ccitt.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc16.c crc16: Move standard CRC-16 implementation from ubifs to lib 2022-04-21 14:32:40 -04:00
crc32.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc32c.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
ctype.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
date.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
display_options.c display_options: Clean up headers 2023-12-21 08:54:37 -05:00
div64.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
elf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
errno.c sandbox: errno: avoid conflict with libc's errno 2021-05-24 14:21:30 -04:00
errno_str.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
fdt-libcrypto.c lib/rsa: Make fdt_add_bignum() available outside of RSA code 2021-04-14 15:06:08 -04:00
fdtdec.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
fdtdec_common.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
fdtdec_test.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
getopt.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
gunzip.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
gzip.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hang.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hash-checksum.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hashtable.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hexdump.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
image-sparse.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
initcall.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
Kconfig Prepare v2024.01-rc5 2023-12-18 09:55:32 -05:00
ldiv.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
linux_compat.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
linux_string.c Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
list_sort.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lmb.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lz4.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lz4_wrapper.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
Makefile fs: ext4: Fix building ext4 in SPL if write is enabled 2023-10-17 20:50:52 -04:00
md5.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
membuff.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
net_utils.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
of_live.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
oid_registry.c lib: add oid registry utility 2019-12-06 16:44:20 -05:00
panic.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
physmem.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
qsort.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rand.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rational.c lib: rational: copy the rational fraction lib routines from Linux 2021-06-11 16:34:52 +05:30
rbtree.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rc4.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rtc-lib.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
semihosting.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
sha1.c lib/sha*.c: Update header list 2023-12-21 08:54:37 -05:00
sha256.c lib/sha*.c: Update header list 2023-12-21 08:54:37 -05:00
sha512.c lib/sha*.c: Update header list 2023-12-21 08:54:37 -05:00
slre.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
smbios-parser.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
smbios.c smbios: Drop support for SMBIOS2 tables 2024-01-07 13:45:07 -07:00
sscanf.c xen: Code style conformity 2020-08-24 14:11:31 -04:00
string.c Revert "lib: string: Fix strlcpy return value", fix callers 2023-08-08 17:05:43 -04:00
strto.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tables_csum.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
time.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tiny-printf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm-common.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm-utils.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm-v1.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm-v2.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm_api.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
trace.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
uuid.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
vsprintf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
xxhash.c lib: Add xxhash support 2019-05-05 08:48:50 -04:00