Lines Matching defs:boot
81 /* the boot and config records for rs6000 */
176 * set entry point and boot image size skipping over elf header
212 " install does not have a PReP boot partition"
218 /* Set entry point and boot image size skipping over elf header */
235 /* Set entry point and boot image size skipping over elf header */
245 * Build a "PReP" partition table entry in the boot record
252 * The first block of the diskette is used by this "boot record" which
254 * partition contains the boot image, but I digress...) We'll set up
287 prep_build_image(char *kernel, char *boot, char *rawdev, char *outname)
299 elf_fd = open_file("bootloader", boot, &hdr, &elf_stat);
310 errx(3, "Can't read input '%s' phdr : %s", boot,
336 /* Copy boot image */
341 errx(3, "Can't read file '%s' : %s", boot, strerror(errno));
411 /* Fill in the needed information on the boot and config records. Most of
412 * this is just AIX garbage that we don't really need to boot.
454 rs6000_build_image(char *kernel, char *boot, char *rawdev, char *outname)
467 elf_fd = open_file("bootloader", boot, &hdr, &elf_stat);
475 errx(3, "Can't read input '%s' phdr : %s", boot,
502 /* Copy boot image */
507 errx(3, "Can't read file '%s' : %s", boot, strerror(errno));
681 bebox_build_image(char *kernel, char *boot, char *rawdev, char *outname, char *repro_timestamp)
695 elf_fd = open_file("bootloader", boot, &hdr, &elf_stat);
706 errx(3, "Can't read input '%s' phdr : %s", boot,
786 /* Copy boot image */
791 errx(3, "Can't read file '%s' : %s", boot, strerror(errno));
808 /* copy the boot image into the buffer */
851 char *kernel = NULL, *boot = NULL, *rawdev = NULL, *outname = NULL;
865 boot = optarg;
906 if (boot == NULL)
907 boot = "/usr/mdec/boot";
933 return prep_build_image(kernel, boot, rawdev, outname);
935 return rs6000_build_image(kernel, boot, rawdev, outname);
937 return bebox_build_image(kernel, boot, rawdev, outname,