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
856 if (*((uint16_t *)&mbr->bootinst[GRUB_VERSION_OFF]) == GRUB_VERSION) { in print_stage1_cb()858 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_VERSION) { in print_stage1_cb()860 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_JOYENT_VERSION) { in print_stage1_cb()896 *(uint32_t *)&mbr->bootinst[STAGE1_SIG]); in print_stage1_cb()902 *(uint64_t *)&mbr->bootinst[STAGE1_STAGE2_LBA]); in print_stage1_cb()905 *(uint16_t *)&mbr->bootinst[STAGE1_STAGE2_SIZE]); in print_stage1_cb()907 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);