aboutsummaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-03-24 18:05:22 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-11 23:14:17 +0200
commita44d2a23992ba70dfeefbad9c55249bfc6be9fbc (patch)
treeb6a6a9339e8f7a16a795dd4e48669af34407409f /include/efi_loader.h
parent5f7dcf079de8caa5ef9c332c928bd6a3c3d12335 (diff)
downloadu-boot-a44d2a23992ba70dfeefbad9c55249bfc6be9fbc.zip
u-boot-a44d2a23992ba70dfeefbad9c55249bfc6be9fbc.tar.gz
u-boot-a44d2a23992ba70dfeefbad9c55249bfc6be9fbc.tar.bz2
efi_loader: export efi_convert_pointer()
We need ConvertPointer() to adjust pointers when implementing runtime services within U-Boot. After ExitBootServices() gd is not available anymore. So we should not use EFI_ENTRY() and EFI_EXIT(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index ceabbaa..be6cede 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -397,6 +397,9 @@ efi_status_t efi_root_node_register(void);
efi_status_t efi_initialize_system_table(void);
/* efi_runtime_detach() - detach unimplemented runtime functions */
void efi_runtime_detach(void);
+/* efi_convert_pointer() - convert pointer to virtual address */
+efi_status_t EFIAPI efi_convert_pointer(efi_uintn_t debug_disposition,
+ void **address);
/* Called by bootefi to make console interface available */
efi_status_t efi_console_register(void);
/* Called by bootefi to make all disk storage accessible as EFI objects */