diff options
author | Tom Rini <trini@konsulko.com> | 2017-12-17 15:37:29 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-12-17 15:37:29 -0500 |
commit | a9e670d46f1916d6fb925244d5d4c9a48db8e26b (patch) | |
tree | 87a6ed8056c8eb58e30756179bac8d22794b8de3 /include/efi_loader.h | |
parent | 15616a0aa58173bce1efe47569bf2e10d023ae9c (diff) | |
parent | bde6bfe4c3234480a0eef3b5bda8cf5fc83d3c79 (diff) | |
download | u-boot-a9e670d46f1916d6fb925244d5d4c9a48db8e26b.tar.gz u-boot-a9e670d46f1916d6fb925244d5d4c9a48db8e26b.tar.xz u-boot-a9e670d46f1916d6fb925244d5d4c9a48db8e26b.zip |
Merge tag 'signed-efi-v2018.01' of git://github.com/agraf/u-boot
Patch queue for efi - 2017-12-17
A few fixes for 2018.01:
- Compile fix with helloworld example
- DP match fix (fixes FreeBSD loader and grub on block storage)
- More DP fixes for SD, block
- Fix use-after-free
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index c0caabddb1..6185055e78 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -190,6 +190,8 @@ void efi_set_bootdev(const char *dev, const char *devnr, const char *path); void efi_add_handle(struct efi_object *obj); /* Create handle */ efi_status_t efi_create_handle(void **handle); +/* Delete handle */ +void efi_delete_handle(struct efi_object *obj); /* Call this to validate a handle and find the EFI object for it */ struct efi_object *efi_search_obj(const void *handle); /* Find a protocol on a handle */ @@ -249,9 +251,11 @@ uint64_t efi_add_memory_map(uint64_t start, uint64_t pages, int memory_type, int efi_memory_init(void); /* Adds new or overrides configuration table entry to the system table */ efi_status_t efi_install_configuration_table(const efi_guid_t *guid, void *table); -void efi_setup_loaded_image(struct efi_loaded_image *info, struct efi_object *obj, - struct efi_device_path *device_path, - struct efi_device_path *file_path); +/* Sets up a loaded image */ +efi_status_t efi_setup_loaded_image( + struct efi_loaded_image *info, struct efi_object *obj, + struct efi_device_path *device_path, + struct efi_device_path *file_path); efi_status_t efi_load_image_from_path(struct efi_device_path *file_path, void **buffer); |