/arch/x86/kernel/ |
D | machine_kexec_32.c | 71 static void machine_kexec_free_page_tables(struct kimage *image) in machine_kexec_free_page_tables() argument 73 free_page((unsigned long)image->arch.pgd); in machine_kexec_free_page_tables() 75 free_page((unsigned long)image->arch.pmd0); in machine_kexec_free_page_tables() 76 free_page((unsigned long)image->arch.pmd1); in machine_kexec_free_page_tables() 78 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables() 79 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables() 82 static int machine_kexec_alloc_page_tables(struct kimage *image) in machine_kexec_alloc_page_tables() argument 84 image->arch.pgd = (pgd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables() 86 image->arch.pmd0 = (pmd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables() 87 image->arch.pmd1 = (pmd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables() [all …]
|
D | machine_kexec_64.c | 42 static int init_level3_page(struct kimage *image, pud_t *level3p, in init_level3_page() argument 55 page = kimage_alloc_control_pages(image, 0); in init_level3_page() 75 static int init_level4_page(struct kimage *image, pgd_t *level4p, in init_level4_page() argument 88 page = kimage_alloc_control_pages(image, 0); in init_level4_page() 94 result = init_level3_page(image, level3p, addr, last_addr); in init_level4_page() 111 static int init_pgtable(struct kimage *image, unsigned long start_pgtable) in init_pgtable() argument 115 return init_level4_page(image, level4p, 0, max_pfn << PAGE_SHIFT); in init_pgtable() 159 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 165 start_pgtable = page_to_pfn(image->control_code_page) << PAGE_SHIFT; in machine_kexec_prepare() 168 result = init_pgtable(image, start_pgtable); in machine_kexec_prepare() [all …]
|
/arch/sh/kernel/ |
D | machine_kexec.c | 46 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 51 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 55 static void kexec_info(struct kimage *image) in kexec_info() argument 59 for (i = 0; i < image->nr_segments; i++) { in kexec_info() 62 (unsigned int)image->segment[i].mem, in kexec_info() 63 (unsigned int)image->segment[i].mem + in kexec_info() 64 image->segment[i].memsz, in kexec_info() 65 (unsigned int)image->segment[i].memsz); in kexec_info() 67 printk(" start : 0x%08x\n\n", (unsigned int)image->start); in kexec_info() 74 void machine_kexec(struct kimage *image) in machine_kexec() argument [all …]
|
/arch/powerpc/boot/ |
D | Makefile | 192 image-$(CONFIG_PPC_PSERIES) += zImage.pseries 193 image-$(CONFIG_PPC_MAPLE) += zImage.pseries 194 image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries 195 image-$(CONFIG_PPC_PS3) += dtbImage.ps3 196 image-$(CONFIG_PPC_CELLEB) += zImage.pseries 197 image-$(CONFIG_PPC_CELL_QPACE) += zImage.pseries 198 image-$(CONFIG_PPC_CHRP) += zImage.chrp 199 image-$(CONFIG_PPC_EFIKA) += zImage.chrp 200 image-$(CONFIG_PPC_PMAC) += zImage.pmac 201 image-$(CONFIG_PPC_HOLLY) += dtbImage.holly [all …]
|
/arch/ia64/kernel/ |
D | machine_kexec.c | 56 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 63 control_code_buffer = page_address(image->control_code_page); in machine_kexec_prepare() 68 ia64_kimage = image; in machine_kexec_prepare() 73 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 83 struct kimage *image = arg; in ia64_machine_kexec() local 86 unsigned long code_addr = (unsigned long)page_address(image->control_code_page); in ia64_machine_kexec() 89 BUG_ON(!image); in ia64_machine_kexec() 90 if (image->type == KEXEC_TYPE_CRASH) { in ia64_machine_kexec() 118 (*rnk)(image->head, image->start, ia64_boot_param, in ia64_machine_kexec() 123 void machine_kexec(struct kimage *image) in machine_kexec() argument [all …]
|
/arch/s390/kernel/ |
D | machine_kexec.c | 29 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 38 if (image->type != KEXEC_TYPE_DEFAULT) in machine_kexec_prepare() 42 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare() 49 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 57 void machine_kexec(struct kimage *image) in machine_kexec() argument 65 data_mover = (relocate_kernel_t) page_to_phys(image->control_code_page); in machine_kexec() 68 (*data_mover)(&image->head, image->start); in machine_kexec()
|
/arch/sparc/boot/ |
D | piggyback_64.c | 47 int image, tail; in main() local 59 if ((image = open(argv[1],O_RDWR)) < 0) die(argv[1]); in main() 60 if (read(image,buffer,512) != 512) die(argv[1]); in main() 65 if (lseek(image,i,0) < 0) die("lseek"); in main() 66 if (read(image,buffer,512) != 512) die(argv[1]); in main() 79 if (lseek(image,i,0) < 0) die("lseek"); in main() 80 if (read(image,buffer,1024) != 1024) die(argv[1]); in main() 91 if (lseek(image, offset, 0) < 0) die ("lseek"); in main() 96 if (write(image,buffer+2,14) != 14) die (argv[1]); in main() 97 if (lseek(image, 4, 0) < 0) die ("lseek"); in main() [all …]
|
D | piggyback_32.c | 77 int image, tail; in main() local 95 if ((image = open(argv[1],O_RDWR)) < 0) die(argv[1]); in main() 96 if (read(image,buffer,512) != 512) die(argv[1]); in main() 100 if (lseek(image,i,0) < 0) die("lseek"); in main() 101 if (read(image,buffer,512) != 512) die(argv[1]); in main() 111 if (lseek(image,i,0) < 0) die("lseek"); in main() 112 if (read(image,buffer,1024) != 1024) die(argv[1]); in main() 122 if (lseek(image, offset, 0) < 0) die ("lseek"); in main() 129 if (write(image,buffer+2,14) != 14) die (argv[1]); in main() 130 if (lseek(image, k - start + ((end + 32 + 4095) & ~4095), 0) < 0) die ("lseek"); in main() [all …]
|
D | Makefile | 10 targets := tftpboot.img btfix.o btfix.S image zImage vmlinux.aout 14 cmd_elftoaout = $(ELFTOAOUT) $(obj)/image -o $@ 26 cmd_strip = $(STRIP) -R .comment -R .note -K sun4u_init -K _end -K _start $(obj)/image -o $@ 55 $(obj)/image: $(obj)/btfix.o FORCE 56 $(call if_changed_rule,image) 58 $(obj)/zImage: $(obj)/image 61 $(obj)/tftpboot.img: $(obj)/piggyback $(obj)/System.map $(obj)/image FORCE 78 $(obj)/image: vmlinux FORCE
|
/arch/arm/kernel/ |
D | machine_kexec.c | 31 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 36 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 48 void machine_kexec(struct kimage *image) in machine_kexec() argument 55 page_list = image->head & PAGE_MASK; in machine_kexec() 59 page_to_pfn(image->control_code_page) << PAGE_SHIFT; in machine_kexec() 60 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec() 63 kexec_start_address = image->start; in machine_kexec() 66 kexec_boot_atags = image->start - KEXEC_ARM_ZIMAGE_OFFSET + KEXEC_ARM_ATAGS_OFFSET; in machine_kexec()
|
/arch/powerpc/kernel/ |
D | machine_kexec_64.c | 28 int default_machine_kexec_prepare(struct kimage *image) in default_machine_kexec_prepare() argument 45 for (i = 0; i < image->nr_segments; i++) in default_machine_kexec_prepare() 46 if (image->segment[i].mem < __pa(_end)) in default_machine_kexec_prepare() 63 for (i = 0; i < image->nr_segments; i++) { in default_machine_kexec_prepare() 64 begin = image->segment[i].mem; in default_machine_kexec_prepare() 65 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare() 83 for (i = 0; i < image->nr_segments; i++) { in default_machine_kexec_prepare() 84 begin = image->segment[i].mem; in default_machine_kexec_prepare() 85 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare() 130 void kexec_copy_flush(struct kimage *image) in kexec_copy_flush() argument [all …]
|
D | machine_kexec_32.c | 31 void default_machine_kexec(struct kimage *image) in default_machine_kexec() argument 42 page_list = image->head; in default_machine_kexec() 46 (unsigned long)page_address(image->control_code_page); in default_machine_kexec() 59 (*rnk)(page_list, reboot_code_buffer_phys, image->start); in default_machine_kexec() 62 int default_machine_kexec_prepare(struct kimage *image) in default_machine_kexec_prepare() argument
|
D | machine_kexec.c | 34 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 37 return ppc_md.machine_kexec_prepare(image); in machine_kexec_prepare() 39 return default_machine_kexec_prepare(image); in machine_kexec_prepare() 42 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 45 ppc_md.machine_kexec_cleanup(image); in machine_kexec_cleanup() 52 void machine_kexec(struct kimage *image) in machine_kexec() argument 55 ppc_md.machine_kexec(image); in machine_kexec() 57 default_machine_kexec(image); in machine_kexec()
|
/arch/mips/kernel/ |
D | machine_kexec.c | 46 machine_kexec(struct kimage *image) in machine_kexec() argument 53 (unsigned long)page_address(image->control_code_page); in machine_kexec() 55 kexec_start_address = image->start; in machine_kexec() 57 (unsigned long) phys_to_virt(image->head & PAGE_MASK); in machine_kexec() 68 for (ptr = &image->head; (entry = *ptr) && !(entry &IND_DONE); in machine_kexec() 81 printk("Will call new kernel at %08lx\n", image->start); in machine_kexec()
|
/arch/arm/mach-ixp4xx/ |
D | ixp4xx_npe.c | 531 } *image; in npe_load_firmware() local 550 image = (struct dl_image*)fw_entry->data; in npe_load_firmware() 554 image->magic, image->id, image->size, image->size * 4); in npe_load_firmware() 557 if (image->magic == swab32(FW_MAGIC)) { /* swapped file */ in npe_load_firmware() 558 image->id = swab32(image->id); in npe_load_firmware() 559 image->size = swab32(image->size); in npe_load_firmware() 560 } else if (image->magic != FW_MAGIC) { in npe_load_firmware() 562 image->magic); in npe_load_firmware() 565 if ((image->size * 4 + sizeof(struct dl_image)) != fw_entry->size) { in npe_load_firmware() 570 if (((image->id >> 24) & 0xF /* NPE ID */) != npe->id) { in npe_load_firmware() [all …]
|
/arch/s390/boot/ |
D | Makefile | 11 targets := image 13 $(obj)/image: vmlinux FORCE 16 install: $(CONFIGURE) $(obj)/image 17 sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/image \
|
/arch/xtensa/boot/boot-elf/ |
D | boot.lds.S | 45 .image 0xd0001000: 48 *(image) 54 .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
|
D | Makefile | 27 --add-section image=vmlinux.tmp \ 28 --set-section-flags image=contents,alloc,load,load,data \ 41 --add-section image=vmlinux.tmp \ 42 --set-section-flags image=contents,alloc,load,load,data \
|
/arch/xtensa/boot/boot-redboot/ |
D | boot.ld | 43 .image 0xd0001000: AT(__image_load) 46 *(image) 52 .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
|
D | Makefile | 29 --add-section image=vmlinux.tmp.gz \ 30 --set-section-flags image=contents,alloc,load,load,data \
|
/arch/powerpc/include/asm/ |
D | kexec.h | 67 extern void default_machine_kexec(struct kimage *image); 68 extern int default_machine_kexec_prepare(struct kimage *image); 73 extern void machine_kexec_simple(struct kimage *image);
|
/arch/m68k/ifpsp060/ |
D | README | 32 fpsp.sa Full FP Kernel Module - hex image 36 pfpsp.sa Partial FP Kernel Module - hex image 39 fplsp.sa FP Library Module - hex image 43 isp.sa Integer Unimplemented Kernel Module - hex image 47 ilsp.sa Integer Unimplemented Library Module - hex image 58 was connected properly; hex image 62 connected properly; hex image
|
/arch/x86/boot/ |
D | mtools.conf.in | 9 # 1.44 MB floppy disk image 13 # 2.88 MB floppy disk image (mostly for virtual uses)
|
/arch/sh/boot/compressed/ |
D | vmlinux_64.lds | 41 .image : { *(.image) } 46 FOLLOWING(.image, 4)
|
/arch/s390/ |
D | Makefile | 40 KBUILD_IMAGE :=arch/s390/boot/image 101 all: image 106 image: vmlinux target
|