Searched refs:bootinst (Results 1 – 4 of 4) sorted by relevance
450 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 …]
147 char bootinst[BOOTSZ]; member
855 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()
3953 (void) memcpy(Bootblk->bootinst, &BootCod, BOOTSZ);3973 (void) memcpy(Bootblk->bootinst, &BootCod, BOOTSZ);