Searched refs:bootcode (Results 1 – 5 of 5) sorted by relevance
| /netbsd/src/sbin/gpt/ |
| D | biosboot.c | 174 struct mbr *mbr, *bootcode; in biosboot() local 196 if ((bootcode = read_boot(gpt, bootpath)) == NULL) { in biosboot() 200 (void)memcpy(&mbr->mbr_code, &bootcode->mbr_code, in biosboot() 202 free(bootcode); in biosboot()
|
| /netbsd/src/sbin/fdisk/ |
| D | fdisk.c | 233 static struct mbr_sector bootcode[8192 / sizeof (struct mbr_sector)]; variable 485 bootsize = read_boot(optarg, bootcode, in main() 486 sizeof bootcode, 1); in main() 1106 bootsize = read_boot(DEFAULT_BOOTCODE, bootcode, in init_sector0() 1107 sizeof bootcode, 0); in init_sector0() 1111 && bootcode[0].mbr_bootsel_magic == LE_MBR_BS_MAGIC) in init_sector0() 1117 memcpy(&mboot, bootcode, copy_size); in init_sector0() 1118 mboot.mbr_bootsel_magic = bootcode[0].mbr_bootsel_magic; in init_sector0() 1484 && (bootcode[0].mbr_bootsel_magic != LE_MBR_BS_MAGIC in install_bootsel() 1485 || ((bootcode[0].mbr_bootsel.mbrbs_flags & needed) != needed))) { in install_bootsel() [all …]
|
| /netbsd/src/sbin/newfs_msdos/ |
| D | mkfs_msdos.c | 200 static u_int8_t bootcode[] = { variable 727 memcpy(img + x1, bootcode, sizeof(bootcode)); in mkfs_msdos()
|
| /netbsd/src/sys/arch/atari/atari/ |
| D | locore.s | 863 | and other bootcode together.
|
| /netbsd/src/doc/ |
| D | CHANGES.prev | 940 i386: change bootcode to not skip the 256 bytes of BIOS variables
|