Home
last modified time | relevance | path

Searched refs:bootinst (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c450 if (*((uint16_t *)&mbr->bootinst[GRUB_VERSION_OFF]) == GRUB_VERSION) { in mbr_info()
452 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_VERSION) { in mbr_info()
454 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_JOYENT_VERSION) { in mbr_info()
477 *(uint32_t *)&mbr->bootinst[STAGE1_SIG]); in mbr_info()
483 *(uint64_t *)&mbr->bootinst[STAGE1_STAGE2_LBA]); in mbr_info()
486 *(uint16_t *)&mbr->bootinst[STAGE1_STAGE2_SIZE]); in mbr_info()
488 uuid_unparse((uchar_t *)&mbr->bootinst[STAGE1_STAGE2_UUID], in mbr_info()
495 show_bpb(mbr->bootinst); in mbr_info()
530 if (VALID_SECSIZE(bpb_get_BytesPerSec(mbr->bootinst))) { in cmd_mbr()
531 sector_size = bpb_get_BytesPerSec(mbr->bootinst); in cmd_mbr()
[all …]
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dfdisk.h147 char bootinst[BOOTSZ]; member
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c855 if (*((uint16_t *)&mbr->bootinst[GRUB_VERSION_OFF]) == GRUB_VERSION) { in print_stage1_cb()
857 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_VERSION) { in print_stage1_cb()
859 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_JOYENT_VERSION) { in print_stage1_cb()
895 *(uint32_t *)&mbr->bootinst[STAGE1_SIG]); in print_stage1_cb()
901 *(uint64_t *)&mbr->bootinst[STAGE1_STAGE2_LBA]); in print_stage1_cb()
904 *(uint16_t *)&mbr->bootinst[STAGE1_STAGE2_SIZE]); in print_stage1_cb()
906 uuid_unparse((uchar_t *)&mbr->bootinst[STAGE1_STAGE2_UUID], in print_stage1_cb()
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c3953 (void) memcpy(Bootblk->bootinst, &BootCod, BOOTSZ);
3973 (void) memcpy(Bootblk->bootinst, &BootCod, BOOTSZ);