diff options
author | Heinrich Schuchardt | 2019-06-20 15:25:48 +0200 |
---|---|---|
committer | Heinrich Schuchardt | 2019-07-06 21:25:32 +0200 |
commit | 29018abb09a6ad638df38d6df5ab089ef1115e3c (patch) | |
tree | 634ac13ff72e0a39a2c2de76b65fc1effae91676 /include/efi_loader.h | |
parent | 24a238f7633cbebcc00b810d0ac1608233a81fbf (diff) |
efi_loader: let the variable driver patch out the runtime
Our variable services are only provided at boottime. Therefore when
leaving boottime the variable function are replaced by dummy functions
returning EFI_UNSUPPORTED. Move this patching of the runtime table to the
variable services implementation. Executed it in ExitBootServices().
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index d30c4e8ef31..8d75dde569d 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -327,6 +327,8 @@ extern struct list_head efi_register_notify_events; efi_status_t efi_init_obj_list(void); /* Initialize variable services */ efi_status_t efi_init_variables(void); +/* Notify ExitBootServices() is called */ +void efi_variables_boot_exit_notify(void); /* Called by bootefi to initialize root node */ efi_status_t efi_root_node_register(void); /* Called by bootefi to initialize runtime */ |