summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-06-27 20:38:03 -0700
committerBin Meng <bmeng.cn@gmail.com>2018-07-02 09:23:28 +0800
commit86df34d42b05f574854f19c96142d8e5d30f5d8d (patch)
treec9245fe389fcda494740a2222a87b6dfdc212329 /include/efi_loader.h
parentbb68c7fba07621ae4dfe3ea10737fa18049d3e51 (diff)
efi_loader: Install ACPI configuration tables
ACPI tables can be passed via EFI configuration table to an EFI application. This is only supported on x86 so far. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index c66252a7dd..d837e7b157 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -215,6 +215,14 @@ efi_status_t efi_net_register(void);
efi_status_t efi_watchdog_register(void);
/* Called by bootefi to make SMBIOS tables available */
/**
+ * efi_acpi_register() - write out ACPI tables
+ *
+ * Called by bootefi to make ACPI tables available
+ *
+ * @return 0 if OK, -ENOMEM if no memory is available for the tables
+ */
+efi_status_t efi_acpi_register(void);
+/**
* efi_smbios_register() - write out SMBIOS tables
*
* Called by bootefi to make SMBIOS tables available