diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-06-28 12:45:32 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-07-25 15:00:24 +0200 |
commit | 4182a129ef735bfd6c54788affe1b649ab85b851 (patch) | |
tree | fe1e24e83e2f00a6bdc5370bd470deecd789380b /include/efi_loader.h | |
parent | 640adadf811e9c229ddec597595a00db3f5304b0 (diff) | |
download | u-boot-4182a129ef735bfd6c54788affe1b649ab85b851.tar.gz |
efi_loader: allocate configuration table array
The system table contains a link to the list of configurations tables.
These include the device tree, SMBIOS table, and the ACPI table.
This array is currently statically linked. With the patch it is allocated
as EFI_RUNTIME_SERVICES_DATA. Due to the structure of the system table we
cannot work with a linked list here.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 06f74e2716..051f9c4514 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -17,6 +17,9 @@ #include <linux/list.h> +/* Maximum number of configuration tables */ +#define EFI_MAX_CONFIGURATION_TABLES 16 + int __efi_entry_check(void); int __efi_exit_check(void); const char *__efi_nesting(void); |