summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-05-08 09:20:04 -0400
committerTom Rini <trini@konsulko.com>2019-05-08 09:20:04 -0400
commitd4c352138c266d618677778a40a846946ec1af1c (patch)
treebdb960d0e9b457510a48ae97d8ba20d20edd3d97 /include/efi_api.h
parent8d7f06bbbef16f172cd5e9c4923cdcebe16b8980 (diff)
parentb015ab57bf558daa1c768995a7a7f1df2d40191e (diff)
Merge tag 'efi-2019-07-rc2-2' of git://git.denx.de/u-boot-efi
Pull request for UEFI sub-system for v2019.07-rc2 (2) Fix a bunch of errors in the UEFI sub-system: * implement missing UnloadImage(), * implement missing RegisterProtocolNotify(), * unload images in Exit(), * parameter checks. Provide a unit test for UnloadImage(). Remove a redundant function for unit tests. Clean up the UEFI sub-system initialization
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 472160cb300..755c4057939 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -128,7 +128,8 @@ struct efi_boot_services {
efi_status_t exit_status,
efi_uintn_t exitdata_size, u16 *exitdata);
efi_status_t (EFIAPI *unload_image)(efi_handle_t image_handle);
- efi_status_t (EFIAPI *exit_boot_services)(efi_handle_t, unsigned long);
+ efi_status_t (EFIAPI *exit_boot_services)(efi_handle_t image_handle,
+ efi_uintn_t map_key);
efi_status_t (EFIAPI *get_next_monotonic_count)(u64 *count);
efi_status_t (EFIAPI *stall)(unsigned long usecs);
@@ -348,7 +349,7 @@ struct efi_loaded_image {
aligned_u64 image_size;
unsigned int image_code_type;
unsigned int image_data_type;
- unsigned long unload;
+ efi_status_t (EFIAPI *unload)(efi_handle_t image_handle);
};
#define EFI_DEVICE_PATH_PROTOCOL_GUID \