/src/sys/arch/powerpc/stand/mkbootimage/ |
mkbootimage.c | 458 int elf_fd, rs6000_fd, kern_fd, elf_img_len = 0, elf_pad; local in function:rs6000_build_image 491 if ((rs6000_fd = open(outname, O_RDWR|O_TRUNC, 0)) < 0) { 493 rs6000_fd = creat(outname, 0644); 494 if (rs6000_fd < 0) 500 lseek(rs6000_fd, 0x400, SEEK_SET); 509 write(rs6000_fd, elf_img, elf_img_len); 514 lseek(rs6000_fd, elf_pad, SEEK_CUR); 528 gzf = gzdopen(dup(rs6000_fd), "a"); 535 write(rs6000_fd, (void *)rs6000_magic, RS6000_MAGICSIZE); 536 lenpos = lseek(rs6000_fd, 0, SEEK_CUR) [all...] |
mkbootimage.c | 458 int elf_fd, rs6000_fd, kern_fd, elf_img_len = 0, elf_pad; local in function:rs6000_build_image 491 if ((rs6000_fd = open(outname, O_RDWR|O_TRUNC, 0)) < 0) { 493 rs6000_fd = creat(outname, 0644); 494 if (rs6000_fd < 0) 500 lseek(rs6000_fd, 0x400, SEEK_SET); 509 write(rs6000_fd, elf_img, elf_img_len); 514 lseek(rs6000_fd, elf_pad, SEEK_CUR); 528 gzf = gzdopen(dup(rs6000_fd), "a"); 535 write(rs6000_fd, (void *)rs6000_magic, RS6000_MAGICSIZE); 536 lenpos = lseek(rs6000_fd, 0, SEEK_CUR) [all...] |
mkbootimage.c | 458 int elf_fd, rs6000_fd, kern_fd, elf_img_len = 0, elf_pad; local in function:rs6000_build_image 491 if ((rs6000_fd = open(outname, O_RDWR|O_TRUNC, 0)) < 0) { 493 rs6000_fd = creat(outname, 0644); 494 if (rs6000_fd < 0) 500 lseek(rs6000_fd, 0x400, SEEK_SET); 509 write(rs6000_fd, elf_img, elf_img_len); 514 lseek(rs6000_fd, elf_pad, SEEK_CUR); 528 gzf = gzdopen(dup(rs6000_fd), "a"); 535 write(rs6000_fd, (void *)rs6000_magic, RS6000_MAGICSIZE); 536 lenpos = lseek(rs6000_fd, 0, SEEK_CUR) [all...] |