Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm/include/asm/
Defi.h78 static inline unsigned long efi_get_max_fdt_addr(unsigned long image_addr) in efi_get_max_fdt_addr() argument
80 return round_down(image_addr, EFI_PHYS_ALIGN) + SZ_512M; in efi_get_max_fdt_addr()
84 static inline unsigned long efi_get_max_initrd_addr(unsigned long image_addr) in efi_get_max_initrd_addr() argument
86 return round_down(image_addr, EFI_PHYS_ALIGN) + SZ_512M; in efi_get_max_initrd_addr()
/Linux-v5.10/drivers/firmware/efi/libstub/
Darm64-stub.c49 efi_status_t handle_kernel_image(unsigned long *image_addr, in handle_kernel_image() argument
100 *image_addr = (u64)_text; in handle_kernel_image()
115 *image_addr = *reserve_addr; in handle_kernel_image()
116 memcpy((void *)*image_addr, _text, kernel_size); in handle_kernel_image()
Drelocate.c119 efi_status_t efi_relocate_kernel(unsigned long *image_addr, in efi_relocate_kernel() argument
132 if (!image_addr || !image_size || !alloc_size) in efi_relocate_kernel()
137 cur_image_addr = *image_addr; in efi_relocate_kernel()
171 *image_addr = new_addr; in efi_relocate_kernel()
Defi-stub.c110 unsigned long image_addr; in efi_pe_entry() local
185 status = handle_kernel_image(&image_addr, &image_size, in efi_pe_entry()
232 max_addr = efi_get_max_initrd_addr(image_addr); in efi_pe_entry()
276 efi_get_max_fdt_addr(image_addr), in efi_pe_entry()
285 efi_enter_kernel(image_addr, fdt_addr, fdt_totalsize((void *)fdt_addr)); in efi_pe_entry()
295 efi_free(image_size, image_addr); in efi_pe_entry()
Driscv-stub.c76 efi_status_t handle_kernel_image(unsigned long *image_addr, in handle_kernel_image() argument
87 *image_addr = (unsigned long)_start; in handle_kernel_image()
101 status = efi_relocate_kernel(image_addr, kernel_size, *image_size, in handle_kernel_image()
Darm32-stub.c116 efi_status_t handle_kernel_image(unsigned long *image_addr, in handle_kernel_image() argument
163 *image_addr = kernel_base + TEXT_OFFSET; in handle_kernel_image()
167 *image_addr, *reserve_addr); in handle_kernel_image()
Defistub.h797 efi_status_t efi_relocate_kernel(unsigned long *image_addr,
839 efi_status_t handle_kernel_image(unsigned long *image_addr,
/Linux-v5.10/arch/riscv/include/asm/
Defi.h31 static inline unsigned long efi_get_max_fdt_addr(unsigned long image_addr) in efi_get_max_fdt_addr() argument
37 static inline unsigned long efi_get_max_initrd_addr(unsigned long image_addr) in efi_get_max_initrd_addr() argument
39 return image_addr + SZ_256M; in efi_get_max_initrd_addr()
/Linux-v5.10/arch/arm64/include/asm/
Defi.h68 static inline unsigned long efi_get_max_fdt_addr(unsigned long image_addr) in efi_get_max_fdt_addr() argument
83 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()