/freebsd-10.3-release/usr.bin/mkimg/ |
H A D | scheme.c | 68 static void *bootcode; variable 111 if (scheme == NULL || scheme->bootcode == 0) 116 if (sb.st_size > scheme->bootcode) 119 bootcode = malloc(scheme->bootcode); 120 if (bootcode == NULL) 122 memset(bootcode, 0, scheme->bootcode); 123 if (read(fd, bootcode, sb.st_size) != sb.st_size) { 124 free(bootcode); [all...] |
H A D | mbr.c | 82 mbr_write(lba_t imgsz __unused, void *bootcode) argument 93 if (bootcode != NULL) { 94 memcpy(mbr, bootcode, DOSPARTOFF); 103 dp->dp_flag = (part->index == 0 && bootcode != NULL) ? 0x80 : 0; 123 .bootcode = 512,
|
H A D | pc98.c | 82 pc98_write(lba_t imgsz __unused, void *bootcode) argument 93 if (bootcode != NULL) { 94 memcpy(buf, bootcode, PC98_BOOTCODESZ); 124 .bootcode = PC98_BOOTCODESZ,
|
H A D | bsd.c | 69 bsd_write(lba_t imgsz, void *bootcode) argument 81 if (bootcode != NULL) { 82 memcpy(buf, bootcode, BBSIZE); 135 .bootcode = BBSIZE,
|
H A D | scheme.h | 75 u_int bootcode; member in struct:mkimg_scheme
|
H A D | gpt.c | 170 gpt_write_pmbr(lba_t blks, void *bootcode) argument 181 if (bootcode != NULL) { 182 memcpy(pmbr, bootcode, DOSPARTOFF); 244 gpt_write(lba_t imgsz, void *bootcode) argument 254 error = gpt_write_pmbr(imgsz, bootcode); 306 .bootcode = 512,
|
H A D | apm.c | 69 apm_write(lba_t imgsz, void *bootcode __unused)
|
H A D | ebr.c | 76 ebr_write(lba_t imgsz __unused, void *bootcode __unused)
|
H A D | vtoc8.c | 65 vtoc8_write(lba_t imgsz, void *bootcode __unused)
|
/freebsd-10.3-release/release/amd64/ |
H A D | make-memstick.sh | 47 gpart bootcode -b ${1}/boot/boot ${unit}
|
/freebsd-10.3-release/sys/amd64/amd64/ |
H A D | mpboot.S | 75 * ljmpl $bootcode-gdt, $protmode-mptramp_start 83 .word bootcode-gdt /* index in gdt for 32 bit code */ 184 bootcode: label
|
/freebsd-10.3-release/usr.sbin/bsdinstall/partedit/ |
H A D | partedit.h | 49 int bootcode; member in struct:partition_metadata
|
H A D | gpart_ops.c | 304 get_part_metadata(lg_name, 1)->bootcode = 1; 378 const char *bootcode; local 387 * Write default bootcode to the newly partitioned disk, if that 397 bootcode = bootcode_path(scheme); 398 if (bootcode == NULL) 401 bootfd = open(bootcode, O_RDONLY); 419 gctl_ro_param(r, "verb", -1, "bootcode"); 420 gctl_ro_param(r, "bootcode", bootsize, boot); 456 sprintf(command, "gpart bootcode -p %s -i %s %s", 698 md->bootcode [all...] |
/freebsd-10.3-release/tools/tools/nanobsd/rescue/Files/root/ |
H A D | GPT4ZFS_Create.sh | 34 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 $dsk
|
/freebsd-10.3-release/sys/geom/ |
H A D | geom_bsd.c | 240 g_bsd_writelabel(struct g_geom *gp, u_char *bootcode) argument 257 if (bootcode == NULL) { 263 buf = bootcode; 272 if (bootcode == NULL) { 276 error = g_write_data(cp, 0, bootcode, BBSIZE); 675 } else if (!strcmp(verb, "write bootcode")) { 676 label = gctl_get_paraml(req, "bootcode", BBSIZE);
|
/freebsd-10.3-release/sys/i386/i386/ |
H A D | mpboot.s | 242 bootcode: /* offset = 0x18 */ label
|
/freebsd-10.3-release/sbin/geom/class/part/ |
H A D | geom_part.c | 70 #define GPART_PARAM_BOOTCODE "bootcode" 110 { "bootcode", 0, gpart_bootcode, { 116 "[-b bootcode] [-p partcode -i index] [-f flags] geom" 1173 void *bootcode, *partcode; local 1180 bootcode = gpart_bootfile_read(s, &bootsize); 1182 bootcode); 1186 bootcode = NULL; 1247 errx(EXIT_FAILURE, "invalid bootcode"); 1251 if (bootcode == NULL) 1254 if (bootcode ! [all...] |
/freebsd-10.3-release/sbin/newfs_msdos/ |
H A D | newfs_msdos.c | 185 static const u_int8_t bootcode[] = { variable 703 memcpy(img + x1, bootcode, sizeof(bootcode));
|