Home
last modified time | relevance | path

Searched refs:image_handle (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/
H A DCVE-2022-28736-loader-efi-chainloader-Use-grub_loader_set_ex.patch34 -static grub_efi_handle_t image_handle;
40 + grub_efi_handle_t image_handle = (grub_efi_handle_t) context;
51 + grub_efi_handle_t image_handle = (grub_efi_handle_t) context;
59 + grub_efi_handle_t image_handle = NULL;
68 + grub_loader_set_ex (grub_chainloader_boot, grub_chainloader_unload, image_handle, 0);
75 if (image_handle != NULL)
77 - efi_call_1 (b->unload_image, image_handle);
78 - image_handle = NULL;
80 + efi_call_1 (b->unload_image, image_handle);
H A Dloader-efi-chainloader-Simplify-the-loader-state.patch36 static grub_efi_handle_t image_handle;
45 + loaded_image = grub_efi_get_loaded_image (image_handle);
50 efi_call_1 (b->unload_image, image_handle);
91 - image_handle = 0;
118 + if (image_handle != NULL)
120 + efi_call_1 (b->unload_image, image_handle);
121 + image_handle = NULL;
/OK3568_Linux_fs/u-boot/cmd/
H A Dbootefi.c95 static ulong efi_do_enter(void *image_handle, in efi_do_enter() argument
97 asmlinkage ulong (*entry)(void *image_handle, in efi_do_enter() argument
103 ret = entry(image_handle, st); in efi_do_enter()
104 st->boottime->exit(image_handle, ret, 0, NULL); in efi_do_enter()
110 void *image_handle, struct efi_system_table *st), in efi_run_in_el2() argument
111 void *image_handle, struct efi_system_table *st) in efi_run_in_el2()
116 return efi_do_enter(image_handle, st, entry); in efi_run_in_el2()
132 ulong (*entry)(void *image_handle, struct efi_system_table *st) in do_bootefi_exec()
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A Defi_boottime.c770 efi_handle_t *image_handle) in efi_load_image() argument
783 file_path, source_buffer, source_size, image_handle); in efi_load_image()
798 *image_handle = info; in efi_load_image()
804 static efi_status_t EFIAPI efi_start_image(efi_handle_t image_handle, in efi_start_image() argument
808 ulong (*entry)(void *image_handle, struct efi_system_table *st); in efi_start_image()
809 struct efi_loaded_image *info = image_handle; in efi_start_image()
811 EFI_ENTRY("%p, %p, %p", image_handle, exit_data_size, exit_data); in efi_start_image()
824 entry(image_handle, &systab); in efi_start_image()
832 static efi_status_t EFIAPI efi_exit(efi_handle_t image_handle, in efi_exit() argument
836 struct efi_loaded_image *loaded_image_info = (void*)image_handle; in efi_exit()
[all …]
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0026-efi-Fix-use-after-free-in-halt-reboot-path.patch87 @@ -157,7 +157,8 @@ grub_efi_get_loaded_image (grub_efi_handle_t image_handle)
/OK3568_Linux_fs/u-boot/include/
H A Defi_api.h111 efi_status_t (EFIAPI *unload_image)(void *image_handle);
/OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/
H A Defistub.h460 efi_status_t (__efiapi *unload)(efi_handle_t image_handle);