/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | loongarch-stub.c | 25 unsigned long kernel_addr = 0; in handle_kernel_image() local 27 kernel_addr = (unsigned long)image->image_base; in handle_kernel_image() 29 status = efi_relocate_kernel(&kernel_addr, kernel_fsize, kernel_asize, in handle_kernel_image() 32 *image_addr = kernel_addr; in handle_kernel_image() 38 unsigned long kernel_entry_address(unsigned long kernel_addr, in kernel_entry_address() argument 43 return (unsigned long)&kernel_entry - base + kernel_addr; in kernel_entry_address()
|
H A D | loongarch.c | 41 unsigned long __weak kernel_entry_address(unsigned long kernel_addr, in kernel_entry_address() argument 44 return *(unsigned long *)(kernel_addr + 8) - PHYSADDR(VMLINUX_LOAD_ADDRESS) + kernel_addr; in kernel_entry_address() 48 unsigned long kernel_addr, char *cmdline_ptr) in efi_boot_kernel() argument 78 real_kernel_entry = (void *)kernel_entry_address(kernel_addr, image); in efi_boot_kernel()
|
H A D | loongarch-stub.h | 3 unsigned long kernel_entry_address(unsigned long kernel_addr,
|
H A D | fdt.c | 345 unsigned long kernel_addr, char *cmdline_ptr) in efi_boot_kernel() argument 360 efi_enter_kernel(kernel_addr, fdt_addr, fdt_totalsize((void *)fdt_addr)); in efi_boot_kernel()
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
H A D | 0031-corstone1000-detect-inflated-kernel-size.patch | 22 -CONFIG_BOOTCOMMAND="echo Loading kernel from $kernel_addr to memory ... ; unzip $kernel_addr 0x900… 23 +CONFIG_BOOTCOMMAND="echo Loading kernel from $kernel_addr to memory ... ; unzip $kernel_addr 0x900…
|
H A D | 0018-corstone1000-add-compressed-kernel-support.patch | 27 …retrieve_kernel_load_addr; echo Loading kernel from $kernel_addr to memory ... ; loadm $kernel_add… 28 …retrieve_kernel_load_addr; echo Loading kernel from $kernel_addr to memory ... ; unzip $kernel_add…
|
H A D | 0025-corstone1000-add-nvmxip-fwu-mdata-and-gpt-options.patch | 24 …retrieve_kernel_load_addr; echo Loading kernel from $kernel_addr to memory ... ; unzip $kernel_add… 25 +CONFIG_BOOTCOMMAND="echo Loading kernel from $kernel_addr to memory ... ; unzip $kernel_addr 0x900…
|
H A D | 0027-corstone1000-set-kernel_addr-based-on-boot_idx.patch | 4 Subject: [PATCH] corstone1000: set kernel_addr based on boot_idx 11 then set the env variable kernel_addr with that value. 95 + ret |= env_set_hex("kernel_addr", plat->phys_base + 116 - setenv kernel_addr $kernel_addr_bank_0; 118 - setenv kernel_addr $kernel_addr_bank_1;
|
/openbmc/u-boot/common/ |
H A D | image-android.c | 29 if (hdr->kernel_addr == ANDROID_IMAGE_DEFAULT_KERNEL_ADDR) in android_image_get_kernel_addr() 32 return hdr->kernel_addr; in android_image_get_kernel_addr() 53 u32 kernel_addr = android_image_get_kernel_addr(hdr); in android_image_get_kernel() local 66 kernel_addr, DIV_ROUND_UP(hdr->kernel_size, 1024)); in android_image_get_kernel() 187 printf("%skernel address: %x\n", p, hdr->kernel_addr); in android_print_contents()
|
H A D | image.c | 815 ulong kernel_addr; in genimg_get_kernel_addr_fit() local 819 kernel_addr = load_addr; in genimg_get_kernel_addr_fit() 823 } else if (fit_parse_conf(img_addr, load_addr, &kernel_addr, in genimg_get_kernel_addr_fit() 826 *fit_uname_config, kernel_addr); in genimg_get_kernel_addr_fit() 827 } else if (fit_parse_subimage(img_addr, load_addr, &kernel_addr, in genimg_get_kernel_addr_fit() 830 *fit_uname_kernel, kernel_addr); in genimg_get_kernel_addr_fit() 833 kernel_addr = simple_strtoul(img_addr, NULL, 16); in genimg_get_kernel_addr_fit() 835 kernel_addr); in genimg_get_kernel_addr_fit() 838 return kernel_addr; in genimg_get_kernel_addr_fit()
|
/openbmc/linux/arch/parisc/boot/compressed/ |
H A D | misc.c | 288 unsigned long kernel_addr, kernel_len; in decompress_kernel() local 301 kernel_addr = KERNEL_BINARY_TEXT_START; in decompress_kernel() 303 if ((unsigned long) &_startcode_end > kernel_addr) in decompress_kernel() 356 printf("kernel_addr = %x\n", kernel_addr); in decompress_kernel() 364 output = (char *) kernel_addr; in decompress_kernel()
|
/openbmc/qemu/pc-bios/optionrom/ |
H A D | linuxboot_dma.c | 141 void *kernel_addr; in load_kernel() local 180 bios_cfg_read_entry_dma(&kernel_addr, FW_CFG_KERNEL_ADDR, 4); in load_kernel() 182 bios_cfg_read_entry_dma(kernel_addr, FW_CFG_KERNEL_DATA, kernel_size); in load_kernel()
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
H A D | 140-mips_disable_devicetree_support.patch | 74 - _ALIGN_UP(kernel_addr + kernel_size + dtb_length, 102 + _ALIGN_UP(kernel_addr + kernel_size + dtb_length, 119 - _ALIGN_UP(kernel_addr + kernel_size, pagesize), 123 + _ALIGN_UP(kernel_addr + kernel_size, pagesize),
|
/openbmc/qemu/hw/sparc64/ |
H A D | sun4u.c | 157 uint64_t *initrd_addr, uint64_t *kernel_addr, in sun4u_load_kernel() argument 178 kernel_addr, &kernel_top, NULL, 1, EM_SPARCV9, 0, in sun4u_load_kernel() 181 *kernel_addr = KERNEL_LOAD_ADDR; in sun4u_load_kernel() 212 ptr = rom_ptr(*kernel_addr + i, 32); in sun4u_load_kernel() 214 stl_p(ptr + 24, *initrd_addr + *kernel_addr); in sun4u_load_kernel() 562 uint64_t initrd_addr, initrd_size, kernel_addr, kernel_size, kernel_entry; in sun4uv_init() local 685 &kernel_addr, &kernel_entry); in sun4uv_init() 689 kernel_addr, kernel_size, in sun4uv_init()
|
/openbmc/qemu/hw/loongarch/ |
H A D | boot.c | 281 int64_t kernel_addr = 0; in loongarch_direct_kernel_boot() local 286 kernel_addr = load_kernel_info(info); in loongarch_direct_kernel_boot() 309 lacpu->env.elf_address = kernel_addr; in loongarch_direct_kernel_boot()
|
/openbmc/u-boot/include/ |
H A D | android_image.h | 26 u32 kernel_addr; /* physical load addr */ member
|
/openbmc/qemu/include/hw/mips/ |
H A D | bootloader.h | 21 target_ulong kernel_addr);
|
/openbmc/qemu/hw/riscv/ |
H A D | boot.c | 437 void riscv_setup_direct_kernel(hwaddr kernel_addr, hwaddr fdt_addr) in riscv_setup_direct_kernel() argument 443 riscv_cpu->env.kernel_addr = kernel_addr; in riscv_setup_direct_kernel()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | compat_ptrace.h | 60 __u32 kernel_addr; member
|
/openbmc/qemu/include/hw/riscv/ |
H A D | boot.h | 63 void riscv_setup_direct_kernel(hwaddr kernel_addr, hwaddr fdt_addr);
|
/openbmc/qemu/hw/sparc/ |
H A D | leon3.c | 108 static void write_bootloader(void *ptr, hwaddr kernel_addr) in write_bootloader() argument 141 stl_p(p++, 0x03000000 + extract32(kernel_addr, 10, 22)); in write_bootloader() 143 stl_p(p++, 0x82106000 + extract32(kernel_addr, 0, 10)); in write_bootloader()
|
/openbmc/qemu/hw/mips/ |
H A D | fuloong2e.c | 166 uint64_t kernel_addr) in write_bootloader() argument 186 kernel_addr); in write_bootloader()
|
H A D | bootloader.c | 259 target_ulong kernel_addr) in bl_gen_jump_kernel() argument 277 bl_gen_jump_to(p, kernel_addr); in bl_gen_jump_kernel()
|
/openbmc/u-boot/doc/ |
H A D | README.commands.spl | 13 spl export <fdt|atags> [kernel_addr] [initrd_addr] [fdt_addr if fdt]
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_vof.c | 74 vof_claim(vof, spapr->kernel_addr, spapr->kernel_size, 0) == -1) { in spapr_vof_reset()
|