Home
last modified time | relevance | path

Searched refs:kernel_addr (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/linux/drivers/firmware/efi/libstub/
H A Dloongarch-stub.c25 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 Dloongarch.c41 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 Dloongarch-stub.h3 unsigned long kernel_entry_address(unsigned long kernel_addr,
H A Dfdt.c345 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 D0031-corstone1000-detect-inflated-kernel-size.patch22 -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 D0018-corstone1000-add-compressed-kernel-support.patch27 …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 D0025-corstone1000-add-nvmxip-fwu-mdata-and-gpt-options.patch24 …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 D0027-corstone1000-set-kernel_addr-based-on-boot_idx.patch4 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 Dimage-android.c29 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 Dimage.c815 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 Dmisc.c288 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 Dlinuxboot_dma.c141 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 D140-mips_disable_devicetree_support.patch74 - _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 Dsun4u.c157 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 Dboot.c281 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 Dandroid_image.h26 u32 kernel_addr; /* physical load addr */ member
/openbmc/qemu/include/hw/mips/
H A Dbootloader.h21 target_ulong kernel_addr);
/openbmc/qemu/hw/riscv/
H A Dboot.c437 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 Dcompat_ptrace.h60 __u32 kernel_addr; member
/openbmc/qemu/include/hw/riscv/
H A Dboot.h63 void riscv_setup_direct_kernel(hwaddr kernel_addr, hwaddr fdt_addr);
/openbmc/qemu/hw/sparc/
H A Dleon3.c108 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 Dfuloong2e.c166 uint64_t kernel_addr) in write_bootloader() argument
186 kernel_addr); in write_bootloader()
H A Dbootloader.c259 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 DREADME.commands.spl13 spl export <fdt|atags> [kernel_addr] [initrd_addr] [fdt_addr if fdt]
/openbmc/qemu/hw/ppc/
H A Dspapr_vof.c74 vof_claim(vof, spapr->kernel_addr, spapr->kernel_size, 0) == -1) { in spapr_vof_reset()

12