Skip to content
Snippets Groups Projects
Commit 2edab5e2 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Alexander Graf
Browse files

efi_loader: make efi_create_handle non-static


Export function efi_create_handle.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent ff401d3f
No related branches found
No related tags found
No related merge requests found
...@@ -192,6 +192,8 @@ void efi_restore_gd(void); ...@@ -192,6 +192,8 @@ void efi_restore_gd(void);
void efi_runtime_relocate(ulong offset, struct efi_mem_desc *map); void efi_runtime_relocate(ulong offset, struct efi_mem_desc *map);
/* Call this to set the current device name */ /* Call this to set the current device name */
void efi_set_bootdev(const char *dev, const char *devnr, const char *path); void efi_set_bootdev(const char *dev, const char *devnr, const char *path);
/* Create handle */
efi_status_t efi_create_handle(void **handle);
/* Call this to validate a handle and find the EFI object for it */ /* Call this to validate a handle and find the EFI object for it */
struct efi_object *efi_search_obj(void *handle); struct efi_object *efi_search_obj(void *handle);
/* Call this to create an event */ /* Call this to create an event */
......
...@@ -321,7 +321,13 @@ static efi_status_t EFIAPI efi_free_pool_ext(void *buffer) ...@@ -321,7 +321,13 @@ static efi_status_t EFIAPI efi_free_pool_ext(void *buffer)
return EFI_EXIT(r); return EFI_EXIT(r);
} }
static efi_status_t efi_create_handle(void **handle) /*
* Create handle.
*
* @handle new handle
* @return status code
*/
efi_status_t efi_create_handle(void **handle)
{ {
struct efi_object *obj; struct efi_object *obj;
efi_status_t r; efi_status_t r;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment