summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2018-06-28 12:45:31 +0200
committerAlexander Graf <[email protected]>2018-07-25 15:00:24 +0200
commit640adadf811e9c229ddec597595a00db3f5304b0 (patch)
tree5bc66727594be4185571bede4c91d8cf437d6380 /include
parent0b386537a51d5ac6e2da022ade49424ecc50ffa1 (diff)
efi_loader: calculate crc32 for EFI tables
For the boot and runtime services tables and for the system table the crc32 has to be set in the header. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Bin Meng <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/efi_loader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 3cbec15c297..06f74e2716c 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -202,6 +202,8 @@ extern struct list_head efi_obj_list;
/* List of all events */
extern struct list_head efi_events;
+/* Called by bootefi to initialize runtime */
+efi_status_t efi_initialize_system_table(void);
/* Called by bootefi to make console interface available */
int efi_console_register(void);
/* Called by bootefi to make all disk storage accessible as EFI objects */