mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 21:24:21 +08:00
efi_loader: make efi_create_handle non-static
Export function efi_create_handle. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
ff401d3f81
commit
2edab5e2e6
@ -192,6 +192,8 @@ void efi_restore_gd(void);
|
||||
void efi_runtime_relocate(ulong offset, struct efi_mem_desc *map);
|
||||
/* Call this to set the current device name */
|
||||
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 */
|
||||
struct efi_object *efi_search_obj(void *handle);
|
||||
/* Call this to create an event */
|
||||
|
@ -321,7 +321,13 @@ static efi_status_t EFIAPI efi_free_pool_ext(void *buffer)
|
||||
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;
|
||||
efi_status_t r;
|
||||
|
Loading…
Reference in New Issue
Block a user