Home
last modified time | relevance | path

Searched refs:image_addr (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.6/drivers/firmware/efi/libstub/
Dkaslr.c104 efi_status_t efi_kaslr_relocate_kernel(unsigned long *image_addr, in efi_kaslr_relocate_kernel() argument
130 if (!check_image_region(*image_addr, kernel_memsize)) { in efi_kaslr_relocate_kernel()
132 } else if (IS_ALIGNED(*image_addr, min_kimg_align) && in efi_kaslr_relocate_kernel()
153 memcpy((void *)*reserve_addr, (void *)*image_addr, kernel_size); in efi_kaslr_relocate_kernel()
154 *image_addr = *reserve_addr; in efi_kaslr_relocate_kernel()
155 efi_icache_sync(*image_addr, *image_addr + kernel_codesize); in efi_kaslr_relocate_kernel()
156 efi_remap_image(*image_addr, *reserve_size, kernel_codesize); in efi_kaslr_relocate_kernel()
Defi-stub-entry.c29 unsigned long image_addr; in efi_pe_entry() local
61 status = handle_kernel_image(&image_addr, &image_size, in efi_pe_entry()
70 screen_info_offset = image_addr - (unsigned long)image->image_base; in efi_pe_entry()
72 status = efi_stub_common(handle, image, image_addr, cmdline_ptr); in efi_pe_entry()
74 efi_free(image_size, image_addr); in efi_pe_entry()
Driscv-stub.c26 efi_status_t handle_kernel_image(unsigned long *image_addr, in handle_kernel_image() argument
39 *image_addr = (unsigned long)_start; in handle_kernel_image()
43 status = efi_kaslr_relocate_kernel(image_addr, in handle_kernel_image()
Drelocate.c110 efi_status_t efi_relocate_kernel(unsigned long *image_addr, in efi_relocate_kernel() argument
123 if (!image_addr || !image_size || !alloc_size) in efi_relocate_kernel()
128 cur_image_addr = *image_addr; in efi_relocate_kernel()
162 *image_addr = new_addr; in efi_relocate_kernel()
Darm64-stub.c17 efi_status_t handle_kernel_image(unsigned long *image_addr, in handle_kernel_image() argument
40 *image_addr = (unsigned long)_text; in handle_kernel_image()
42 status = efi_kaslr_relocate_kernel(image_addr, in handle_kernel_image()
Darm32-stub.c79 efi_status_t handle_kernel_image(unsigned long *image_addr, in handle_kernel_image() argument
127 *image_addr = kernel_base + TEXT_OFFSET; in handle_kernel_image()
131 *image_addr, *reserve_addr); in handle_kernel_image()
Dloongarch-stub.c17 efi_status_t handle_kernel_image(unsigned long *image_addr, in handle_kernel_image() argument
32 *image_addr = kernel_addr; in handle_kernel_image()
Defi-stub.c158 unsigned long image_addr, in efi_stub_common() argument
175 efi_load_initrd(image, ULONG_MAX, efi_get_max_initrd_addr(image_addr), in efi_stub_common()
186 status = efi_boot_kernel(handle, image, image_addr, cmdline_ptr); in efi_stub_common()
Defistub.h992 efi_status_t efi_relocate_kernel(unsigned long *image_addr,
1033 efi_status_t handle_kernel_image(unsigned long *image_addr,
1043 unsigned long image_addr,
1136 efi_status_t efi_kaslr_relocate_kernel(unsigned long *image_addr,
/Linux-v6.6/arch/arm/include/asm/
Defi.h64 static inline unsigned long efi_get_max_initrd_addr(unsigned long image_addr) in efi_get_max_initrd_addr() argument
66 return round_down(image_addr, SZ_4M) + SZ_512M; in efi_get_max_initrd_addr()
/Linux-v6.6/arch/arm64/include/asm/
Defi.h83 static inline unsigned long efi_get_max_initrd_addr(unsigned long image_addr) in efi_get_max_initrd_addr() argument
85 return (image_addr & ~(SZ_1G - 1UL)) + (1UL << (VA_BITS_MIN - 1)); in efi_get_max_initrd_addr()
/Linux-v6.6/arch/loongarch/include/asm/
Defi.h23 static inline unsigned long efi_get_max_initrd_addr(unsigned long image_addr) in efi_get_max_initrd_addr() argument
/Linux-v6.6/arch/riscv/include/asm/
Defi.h27 static inline unsigned long efi_get_max_initrd_addr(unsigned long image_addr) in efi_get_max_initrd_addr() argument
/Linux-v6.6/sound/soc/sof/amd/
Dacp.c231 int configure_and_run_sha_dma(struct acp_dev_data *adata, void *image_addr, in configure_and_run_sha_dma() argument
240 if (!image_addr) { in configure_and_run_sha_dma()
Dacp.h217 int configure_and_run_sha_dma(struct acp_dev_data *adata, void *image_addr,