Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
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()
Darm64-stub.c82 efi_status_t handle_kernel_image(unsigned long *image_addr, in handle_kernel_image() argument
149 *image_addr = (u64)_text; in handle_kernel_image()
164 *image_addr = *reserve_addr; in handle_kernel_image()
165 memcpy((void *)*image_addr, _text, kernel_size); in handle_kernel_image()
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()
Defi-stub.c122 unsigned long image_addr; in efi_pe_entry() local
197 status = handle_kernel_image(&image_addr, &image_size, in efi_pe_entry()
244 max_addr = efi_get_max_initrd_addr(image_addr); in efi_pe_entry()
292 efi_get_max_fdt_addr(image_addr), in efi_pe_entry()
301 efi_enter_kernel(image_addr, fdt_addr, fdt_totalsize((void *)fdt_addr)); in efi_pe_entry()
311 efi_free(image_size, image_addr); in efi_pe_entry()
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,
/kernel/linux/linux-5.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()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch3647 - *image_addr = *reserve_addr;
3648 + *image_addr = *reserve_addr + TEXT_OFFSET % min_kimg_align;
3649 memcpy((void *)*image_addr, _text, kernel_size);