Searched refs:image_addr (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | efi.h | 78 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/ |
D | efi.h | 31 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/ |
D | relocate.c | 119 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()
|
D | arm64-stub.c | 82 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()
|
D | riscv-stub.c | 76 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()
|
D | efi-stub.c | 122 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()
|
D | arm32-stub.c | 116 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()
|
D | efistub.h | 797 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/ |
D | efi.h | 68 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/ |
D | linux-5.10.patch | 3647 - *image_addr = *reserve_addr; 3648 + *image_addr = *reserve_addr + TEXT_OFFSET % min_kimg_align; 3649 memcpy((void *)*image_addr, _text, kernel_size);
|