summaryrefslogtreecommitdiff
path: root/include/efi_variable.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-14 09:04:49 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-16 13:37:02 +0300
commit012c56ac76e1bdabc711a90898e81316e1d1a020 (patch)
treec91e58b8654fce27666af1852773b30aebe8ec80 /include/efi_variable.h
parentf96744b2509622302dbc6bd6f2f669fc406c24d3 (diff)
downloadu-boot-012c56ac76e1bdabc711a90898e81316e1d1a020.tar.xz
efi_loader: restructure code for TEE variables
When using secure boot functions needed both for file and TEE based UEFI variables have to be moved to the common code module efi_var_common.c. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_variable.h')
-rw-r--r--include/efi_variable.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/efi_variable.h b/include/efi_variable.h
index bc5985cfdb..5eec407a2b 100644
--- a/include/efi_variable.h
+++ b/include/efi_variable.h
@@ -195,4 +195,11 @@ efi_status_t efi_var_mem_ins(u16 *variable_name,
*/
u64 efi_var_mem_free(void);
+/**
+ * efi_init_secure_state - initialize secure boot state
+ *
+ * Return: status code
+ */
+efi_status_t efi_init_secure_state(void);
+
#endif