Home
last modified time | relevance | path

Searched refs:bootinst (Results 1 – 4 of 4) sorted by last modified time

/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dfdisk.h147 char bootinst[BOOTSZ]; member
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c201 if (*((uint16_t *)&mbr->bootinst[GRUB_VERSION_OFF]) == GRUB_VERSION) { in mbr_info()
203 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_VERSION) { in mbr_info()
205 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_JOYENT_VERSION) { in mbr_info()
228 *(uint32_t *)&mbr->bootinst[STAGE1_SIG]); in mbr_info()
234 *(uint64_t *)&mbr->bootinst[STAGE1_STAGE2_LBA]); in mbr_info()
237 *(uint16_t *)&mbr->bootinst[STAGE1_STAGE2_SIZE]); in mbr_info()
239 uuid_unparse((uchar_t *)&mbr->bootinst[STAGE1_STAGE2_UUID], in mbr_info()
279 if (*(uint16_t *)&mbr->bootinst[STAGE1_STAGE2_SIZE] == 1) { in cmd_mbr()
283 vbrp = *(uint64_t *)&mbr->bootinst[STAGE1_STAGE2_LBA]; in cmd_mbr()
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c3953 (void) memcpy(Bootblk->bootinst, &BootCod, BOOTSZ);
3973 (void) memcpy(Bootblk->bootinst, &BootCod, BOOTSZ);
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c854 if (*((uint16_t *)&mbr->bootinst[GRUB_VERSION_OFF]) == GRUB_VERSION) { in print_stage1_cb()
856 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_VERSION) { in print_stage1_cb()
858 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_JOYENT_VERSION) { in print_stage1_cb()
894 *(uint32_t *)&mbr->bootinst[STAGE1_SIG]); in print_stage1_cb()
900 *(uint64_t *)&mbr->bootinst[STAGE1_STAGE2_LBA]); in print_stage1_cb()
903 *(uint16_t *)&mbr->bootinst[STAGE1_STAGE2_SIZE]); in print_stage1_cb()
905 uuid_unparse((uchar_t *)&mbr->bootinst[STAGE1_STAGE2_UUID], in print_stage1_cb()