/linux-master/arch/um/kernel/ |
H A D | initrd.c | 8 #include <linux/initrd.h> 16 static char *initrd __initdata = NULL; 23 if (!initrd) 26 area = uml_load_file(initrd, &size); 37 initrd = line; 41 __uml_setup("initrd=", uml_initrd_setup, 42 "initrd=<initrd image>\n" 43 " This is used to boot UML from an initrd image. The argument is the\n"
|
/linux-master/arch/parisc/ |
H A D | defpalo.conf | 15 --commandline=0/vmlinuz HOME=/ root=/dev/ram initrd=0/ramdisk panic_timeout=60 panic=-1
|
/linux-master/arch/arm/boot/bootp/ |
H A D | init.S | 7 * "Header" file for splitting kernel + initrd. Note that we pass 24 bl move @ move the initrd 27 * Setup the initrd parameters to pass to the kernel. This can only be 30 ldmia r13, {r5-r9} @ get size and addr of initrd 33 @ r7 = initrd start 34 @ r8 = initrd end 56 mov r5, #4 @ Size of initrd tag (4 words) 76 data: .word initrd_start @ source initrd address 77 .word initrd_phys @ destination initrd address 78 .word initrd_size @ initrd siz [all...] |
H A D | Makefile | 22 # guess an initrd location if possible 33 PHONY += initrd 34 initrd: 47 targets := bootp init.o kernel.o initrd.o 49 # Note that bootp.lds picks up kernel.o and initrd.o 50 $(obj)/bootp: $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE 53 # kernel.o and initrd.o includes a binary image using 58 $(obj)/initrd.o: initrd $(INITRD) FORCE
|
/linux-master/arch/powerpc/boot/ |
H A D | zImage.ps3.lds.S | 18 .kernel:initrd : { *(.kernel:initrd) }
|
H A D | zImage.coff.lds.S | 32 *(.kernel:initrd)
|
H A D | zImage.lds.S | 72 .kernel:initrd : 75 *(.kernel:initrd)
|
H A D | wrapper | 6 # This script takes a kernel binary and optionally an initrd image 13 # -i initrd specify initrd file 41 initrd= 69 echo 'Usage: wrapper [-o output] [-p platform] [-i initrd]' >&2 108 initrd="$1" 249 isection=.kernel:initrd 296 isection=initrd 335 isection=.kernel:initrd 473 # obs600 wants a multi image with an initrd, s [all...] |
H A D | Makefile | 277 # args (to if_changed): 1 = (this rule), 2 = platform, 3 = dts 4=dtb 5=initrd 378 initrd- := $(patsubst zImage%, zImage.initrd%, $(image-)) 379 initrd-y := $(patsubst zImage%, zImage.initrd%, \ 380 $(patsubst dtbImage%, dtbImage.initrd%, \ 381 $(patsubst simpleImage%, simpleImage.initrd%, \ 382 $(patsubst treeImage%, treeImage.initrd%, $(image-y))))) 383 initrd-y := $(filter-out $(image-y), $(initrd [all...] |
H A D | main.c | 108 printf("Attached initrd image at 0x%p-0x%p\n\r", 117 /* If there's no initrd at all, we're done */ 122 * If the initrd is too low it will be clobbered when the 129 printf("Allocating 0x%lx bytes for initrd ...\n\r", 135 printf("Relocating initrd 0x%lx <- 0x%p (0x%lx bytes)\n\r", 140 printf("initrd head: 0x%lx\n\r", *((unsigned long *)initrd_addr)); 142 /* Tell the kernel initrd address via device tree */ 143 setprop_val(chosen, "linux,initrd-start", (u32)(initrd_addr)); 144 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); 229 struct addr_range vmlinux, initrd; local [all...] |
/linux-master/arch/mips/ath79/ |
H A D | prom.c | 14 #include <linux/initrd.h> 27 /* Read the initrd address from the firmware environment */
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | efi-stub-helper.c | 222 STR_WITH_SIZE("Linux initrd") 510 * for the firmware or bootloader to expose the initrd data directly to the stub 512 * very easy to implement. It is a simple Linux initrd specific conduit between 514 * kernel) in charge of where and when to load the initrd, while leaving it up 537 * efi_load_initrd_dev_path() - load the initrd from the Linux initrd device path 538 * @initrd: pointer of struct to store the address where the initrd was loaded 539 * and the size of the loaded initrd 540 * @max: upper limit for the initrd memor 550 efi_load_initrd_dev_path(struct linux_efi_initrd *initrd, unsigned long max) argument 588 efi_load_initrd_cmdline(efi_loaded_image_t *image, struct linux_efi_initrd *initrd, unsigned long soft_limit, unsigned long hard_limit) argument 616 struct linux_efi_initrd initrd, *tbl; local [all...] |
/linux-master/arch/parisc/kernel/ |
H A D | kexec_file.c | 17 unsigned long kernel_len, char *initrd, 44 if (initrd != NULL) { 45 kbuf.buffer = initrd; 54 kexec_dprintk("Loaded initrd at 0x%lx\n", kbuf.mem); 16 elf_load(struct kimage *image, char *kernel_buf, unsigned long kernel_len, char *initrd, unsigned long initrd_len, char *cmdline, unsigned long cmdline_len) argument
|
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | mkinitrd.sh | 4 # Create an initrd directory if one does not already exist. 17 if [ -s "$D/initrd/init" ]; then 18 echo "$D/initrd/init already exists, no need to create it" 22 # Create a C-language initrd/init infinite-loop program and statically 23 # link it. This results in a very small initrd. 24 echo "Creating a statically linked C-language initrd" 26 mkdir -p initrd 27 cd initrd 88 echo "Failed to create a statically linked C-language initrd" 93 echo "Done creating a statically linked C-language initrd" [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | machine_kexec_file.c | 87 * Tries to add the initrd and DTB to the image. If it is not possible to find 94 char *initrd, unsigned long initrd_len, 140 /* load initrd */ 141 if (initrd) { 142 kbuf.buffer = initrd; 157 kexec_dprintk("Loaded initrd at 0x%lx bufsz=0x%lx memsz=0x%lx\n", 91 load_other_segments(struct kimage *image, unsigned long kernel_load_addr, unsigned long kernel_size, char *initrd, unsigned long initrd_len, char *cmdline) argument
|
H A D | kexec_image.c | 38 char *initrd, unsigned long initrd_len, 101 kernel_segment->memsz, initrd, 36 image_load(struct kimage *image, char *kernel, unsigned long kernel_len, char *initrd, unsigned long initrd_len, char *cmdline, unsigned long cmdline_len) argument
|
/linux-master/arch/powerpc/kexec/ |
H A D | elf_64.c | 28 unsigned long kernel_len, char *initrd, 91 if (initrd != NULL) { 92 kbuf.buffer = initrd; 102 kexec_dprintk("Loaded initrd at 0x%lx\n", initrd_load_addr); 27 elf64_load(struct kimage *image, char *kernel_buf, unsigned long kernel_len, char *initrd, unsigned long initrd_len, char *cmdline, unsigned long cmdline_len) argument
|
/linux-master/arch/powerpc/platforms/embedded6xx/ |
H A D | storcenter.c | 16 #include <linux/initrd.h>
|
/linux-master/arch/loongarch/kernel/ |
H A D | mem.c | 6 #include <linux/initrd.h>
|
/linux-master/arch/m68k/kernel/ |
H A D | uboot.c | 22 #include <linux/initrd.h> 88 pr_info("initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end);
|
/linux-master/arch/s390/kernel/ |
H A D | kexec_image.c | 47 char *initrd, unsigned long initrd_len, 45 s390_image_load(struct kimage *image, char *kernel, unsigned long kernel_len, char *initrd, unsigned long initrd_len, char *cmdline, unsigned long cmdline_len) argument
|
/linux-master/arch/arm64/include/asm/ |
H A D | kexec.h | 129 char *initrd, unsigned long initrd_len,
|
/linux-master/arch/arm/mm/ |
H A D | init.c | 16 #include <linux/initrd.h> 57 phys_initrd_start = __virt_to_phys(tag->u.initrd.start); 58 phys_initrd_size = tag->u.initrd.size; 66 phys_initrd_start = tag->u.initrd.start; 67 phys_initrd_size = tag->u.initrd.size; 185 /* Register the kernel text, kernel data and initrd with memblock. */ 486 free_reserved_area((void *)start, (void *)end, -1, "initrd");
|
/linux-master/arch/csky/kernel/ |
H A D | setup.c | 6 #include <linux/initrd.h>
|
/linux-master/arch/powerpc/mm/ |
H A D | init_32.c | 25 #include <linux/initrd.h>
|