Home
last modified time | relevance | path

Searched refs:mbh (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dmbchk.c58 multiboot_header_t *mbh = 0; in check_multiboot() local
74 mbh = (multiboot_header_t *) (buf + i); in check_multiboot()
79 if (! mbh) in check_multiboot()
90 if (mbh->magic + mbh->flags + mbh->checksum != 0) in check_multiboot()
94 filename, mbh->checksum); in check_multiboot()
99 if (mbh->flags & ~0x00010003) in check_multiboot()
103 filename, mbh->flags); in check_multiboot()
110 filename, (mbh->flags & 0x1)? "on" : "off"); in check_multiboot()
112 filename, (mbh->flags & 0x2)? "on" : "off"); in check_multiboot()
114 filename, (mbh->flags & 0x10000)? "on" : "off"); in check_multiboot()
[all …]
/illumos-gate/usr/src/tools/mbh_patch/
H A Dmbh_patch.c110 multiboot_header_t *mbh; in patch64() local
142 mbh = ELFSEEK(mem); in patch64()
143 if (mbh->magic == MB_HEADER_MAGIC) in patch64()
227 mbh->load_addr = phdr->p_paddr - phdr->p_offset; in patch64()
228 mbh->entry_addr = phdr->p_paddr; in patch64()
229 mbh->header_addr = mbh->load_addr + mem; in patch64()
232 (void) printf("\tload_addr now: 0x%x\n", mbh->load_addr); in patch64()
233 (void) printf("\tentry_addr now: 0x%x\n", mbh->entry_addr); in patch64()
234 (void) printf("\theader_addr now: 0x%x\n", mbh->header_addr); in patch64()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_upgrade.c115 multiboot_header_t *mbh; in get_boot_cap() local
196 mbh = (void *)(image + m); in get_boot_cap()
197 if (mbh->magic == MB_HEADER_MAGIC) { in get_boot_cap()