Home
last modified time | relevance | path

Searched refs:initrd_end (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/u-boot/board/ti/ks2_evm/
H A Dboard.c175 u64 initrd_start, initrd_end; in ft_board_setup_ex() local
188 initrd_end = __be64_to_cpu(*prop2); in ft_board_setup_ex()
189 initrd_end -= CONFIG_SYS_SDRAM_BASE; in ft_board_setup_ex()
190 initrd_end += CONFIG_SYS_LPAE_SDRAM_BASE; in ft_board_setup_ex()
191 initrd_end = __cpu_to_be64(initrd_end); in ft_board_setup_ex()
212 &initrd_end, in ft_board_setup_ex()
213 sizeof(initrd_end)); in ft_board_setup_ex()
/openbmc/u-boot/arch/nios2/lib/
H A Dbootm.c16 ulong initrd_end = images->rd_end; in do_bootm_linux() local
26 initrd_end = (ulong)of_flat_tree; in do_bootm_linux()
42 debug("initrd=0x%lx-0x%lx\n", (ulong)initrd_start, (ulong)initrd_end); in do_bootm_linux()
52 kernel(NIOS_MAGIC, initrd_start, initrd_end, commandline); in do_bootm_linux()
/openbmc/qemu/hw/microblaze/
H A Dboot.c49 uint32_t initrd_end; member
72 uint32_t initrd_end, in microblaze_load_dtb() argument
104 initrd_end); in microblaze_load_dtb()
197 boot_info.initrd_end = boot_info.initrd_start + initrd_size; in microblaze_load_kernel()
209 boot_info.initrd_end, in microblaze_load_kernel()
/openbmc/linux/init/
H A Dinitramfs.c583 initrd_start = initrd_end = 0; in reserve_initrd_mem()
612 initrd_end = initrd_start + phys_initrd_size; in reserve_initrd_mem()
619 initrd_end = 0; in reserve_initrd_mem()
645 if (initrd_start >= crashk_end || initrd_end <= crashk_start) in kexec_free_initrd()
651 memset((void *)initrd_start, 0, initrd_end - initrd_start); in kexec_free_initrd()
654 if (initrd_end > crashk_end) in kexec_free_initrd()
655 free_initrd_mem(crashk_end, initrd_end); in kexec_free_initrd()
682 if (written != initrd_end - initrd_start) in populate_initrd_image()
684 written, initrd_end - initrd_start); in populate_initrd_image()
719 free_initrd_mem(initrd_start, initrd_end); in do_populate_rootfs()
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dsetup.c134 initrd_end += start; in rd_start_early()
141 initrd_end += memparse(p, &p); in rd_size_early()
156 if (!initrd_start || initrd_end <= initrd_start) in init_initrd()
171 end = __pa(initrd_end); in init_initrd()
172 initrd_end = (unsigned long)__va(end); in init_initrd()
184 initrd_end = 0; in init_initrd()
211 for (i = initrd_start; i < ALIGN(initrd_end, 8); i += 8) in maybe_bswap_initrd()
219 unsigned long size = initrd_end - initrd_start; in finalize_initrd()
225 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in finalize_initrd()
241 initrd_end = 0; in finalize_initrd()
/openbmc/linux/arch/arm/boot/bootp/
H A Dinitrd.S6 .globl initrd_end
7 initrd_end: label
/openbmc/linux/arch/sparc/mm/
H A Dinit_32.c113 initrd_end = initrd_start + sparc_ramdisk_size; in find_ramdisk()
114 if (initrd_end > end_of_phys_memory) { in find_ramdisk()
117 initrd_end, end_of_phys_memory); in find_ramdisk()
121 size = initrd_end - initrd_start; in find_ramdisk()
125 initrd_end = (initrd_end - phys_base) + PAGE_OFFSET; in find_ramdisk()
/openbmc/u-boot/arch/xtensa/lib/
H A Dbootm.c137 ulong initrd_start, initrd_end; in do_bootm_linux() local
147 initrd_end = images->rd_end; in do_bootm_linux()
150 initrd_end = 0; in do_bootm_linux()
161 params = setup_ramdisk_tag(params, initrd_start, initrd_end); in do_bootm_linux()
/openbmc/linux/arch/x86/mm/
H A Dmem_encrypt_identity.c293 unsigned long initrd_start, initrd_end, initrd_len; in sme_encrypt_kernel() local
328 initrd_end = 0; in sme_encrypt_kernel()
336 initrd_end = PAGE_ALIGN(initrd_start + initrd_len); in sme_encrypt_kernel()
337 initrd_len = initrd_end - initrd_start; in sme_encrypt_kernel()
418 check_base = (pgd_index(initrd_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel()
439 ppd.vaddr_end = initrd_end; in sme_encrypt_kernel()
446 ppd.vaddr_end = initrd_end + decrypted_base; in sme_encrypt_kernel()
481 ppd.vaddr_end = initrd_end + decrypted_base; in sme_encrypt_kernel()
/openbmc/linux/arch/csky/mm/
H A Dinit.c50 if (initrd_start >= initrd_end) { in setup_initrd()
55 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in setup_initrd()
60 size = initrd_end - initrd_start; in setup_initrd()
78 initrd_start = initrd_end = 0; in setup_initrd()
/openbmc/linux/arch/mips/sibyte/common/
H A Dcfe.c41 extern unsigned long initrd_start, initrd_end;
90 initrd_pend = CPHYSADDR(initrd_end); in prom_meminit()
190 initrd_end = initrd_start + initrd_size; in initrd_setup()
196 initrd_end = 0; in initrd_setup()
/openbmc/linux/arch/m68k/kernel/
H A Dsetup_no.c160 if ((initrd_start > 0) && (initrd_start < initrd_end) && in setup_arch()
161 (initrd_end < memory_end)) in setup_arch()
162 memblock_reserve(initrd_start, initrd_end - initrd_start); in setup_arch()
H A Duboot.c83 initrd_end = uboot_initrd_end; in parse_uboot_commandline()
85 pr_info("initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); in parse_uboot_commandline()
/openbmc/linux/arch/openrisc/kernel/
H A Dsetup.c80 if (initrd_start && (initrd_end > initrd_start)) { in setup_memory()
82 unsigned long aligned_end = ALIGN(initrd_end, PAGE_SIZE); in setup_memory()
273 if (initrd_start == initrd_end) { in setup_arch()
276 initrd_end = 0; in setup_arch()
279 (void *)(initrd_start), initrd_end - initrd_start); in setup_arch()
/openbmc/linux/arch/alpha/kernel/
H A Dcore_irongate.c228 extern unsigned long initrd_start, initrd_end; in albacore_init_arch()
232 if (initrd_end && __pa(initrd_end) > pci_mem) { in albacore_init_arch()
235 size = initrd_end - initrd_start; in albacore_init_arch()
/openbmc/linux/arch/nios2/kernel/
H A Dsetup.c118 initrd_end = r6; in nios2_boot_init()
170 initrd_end - initrd_start); in setup_arch()
/openbmc/u-boot/arch/powerpc/lib/
H A Dbootm.c101 ulong initrd_end = images->initrd_end; in boot_jump_linux() local
106 (*kernel) (kbd, initrd_start, initrd_end, in boot_jump_linux()
/openbmc/u-boot/arch/nds32/lib/
H A Dbootm.c30 static void setup_initrd_tag(bd_t *bd, ulong initrd_start, ulong initrd_end);
188 static void setup_initrd_tag(bd_t *bd, ulong initrd_start, ulong initrd_end) in setup_initrd_tag() argument
197 params->u.initrd.size = initrd_end - initrd_start; in setup_initrd_tag()
/openbmc/u-boot/arch/arm/lib/
H A Dbootm.c171 static void setup_initrd_tag(bd_t *bd, ulong initrd_start, ulong initrd_end) in setup_initrd_tag() argument
180 params->u.initrd.size = initrd_end - initrd_start; in setup_initrd_tag()
258 if (images->initrd_start && images->initrd_end) { in boot_prep_linux()
260 images->initrd_end); in boot_prep_linux()
/openbmc/linux/arch/parisc/mm/
H A Dinit.c300 printk(KERN_INFO "initrd: %08lx-%08lx\n", initrd_start, initrd_end); in setup_bootmem()
304 if (__pa(initrd_end) > mem_max) { in setup_bootmem()
307 initrd_reserve = initrd_end - initrd_start; in setup_bootmem()
636 if (initrd_end && initrd_end > mem_limit) { in pagetable_init()
637 printk(KERN_INFO "initrd: mapping %08lx-%08lx\n", initrd_start, initrd_end); in pagetable_init()
639 initrd_end - initrd_start, PAGE_KERNEL, 0); in pagetable_init()
/openbmc/u-boot/common/
H A Dimage-fdt.c530 ulong *initrd_end = &images->initrd_end; in image_setup_libfdt() local
575 if (*initrd_start && *initrd_end) { in image_setup_libfdt()
583 fdt_initrd(blob, *initrd_start, *initrd_end); in image_setup_libfdt()
/openbmc/linux/arch/xtensa/kernel/
H A Dsetup.c65 extern unsigned long initrd_end;
122 initrd_end = (unsigned long)__va(mi->end); in parse_tag_initrd()
305 if (initrd_start < initrd_end && in setup_arch()
306 !mem_reserve(__pa(initrd_start), __pa(initrd_end))) in setup_arch()
/openbmc/linux/arch/mips/ath79/
H A Dprom.c31 initrd_end = initrd_start + fw_getenvl("initrd_size"); in prom_init()
/openbmc/u-boot/arch/mips/lib/
H A Dbootm.c128 rd_size = images->initrd_end - images->initrd_start; in linux_cmdline_append()
186 rd_size = images->initrd_end - images->initrd_start; in linux_env_legacy()
232 rd_len, &images->initrd_start, &images->initrd_end); in boot_reloc_ramdisk()
/openbmc/linux/arch/parisc/include/asm/
H A Dkexec.h21 unsigned long initrd_end; member

123