summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-05-16 09:42:19 -0600
committerAlexander Graf <agraf@suse.de>2018-06-03 15:27:21 +0200
commit0864c565a274ddbc23dda667d71524e7efbbef8f (patch)
tree14e67fed8a5e51e36b5f1017defe1178914bb4b2 /include/efi_loader.h
parent85b469215f8e6b5566eb06fe970276344a56c7f4 (diff)
efi: Update some comments related to smbios tables
Clarify the operation of this code with some additional comments. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 0c286bf6be..c66252a7dd 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -214,6 +214,13 @@ efi_status_t efi_net_register(void);
/* Called by bootefi to make the watchdog available */
efi_status_t efi_watchdog_register(void);
/* Called by bootefi to make SMBIOS tables available */
+/**
+ * efi_smbios_register() - write out SMBIOS tables
+ *
+ * Called by bootefi to make SMBIOS tables available
+ *
+ * @return 0 if OK, -ENOMEM if no memory is available for the tables
+ */
efi_status_t efi_smbios_register(void);
struct efi_simple_file_system_protocol *