Searched defs: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; local
74 mbh = (multiboot_header_t *) (buf + i);
79 if (! mbh)
90 if (mbh->magic + mbh->flags + mbh->checksum != 0)
94 filename, mbh->checksum);
99 if (mbh->flags & ~0x00010003)
103 filename, mbh->flags);
110 filename, (mbh
[all...]
/illumos-gate/usr/src/tools/mbh_patch/
H A Dmbh_patch.c60 multiboot_header_t *mbh; local
91 mbh = ELFSEEK(mem);
92 if (mbh->magic == MB_HEADER_MAGIC)
142 mbh->load_addr = phdr->p_paddr - phdr->p_offset;
143 mbh->entry_addr = phdr->p_paddr;
144 mbh->header_addr = mbh->load_addr + mem;
147 (void) printf("\tload_addr now: 0x%x\n", mbh->load_addr);
148 (void) printf("\tentry_addr now: 0x%x\n", mbh->entry_addr);
149 (void) printf("\theader_addr now: 0x%x\n", mbh
[all...]
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_upgrade.c114 multiboot_header_t *mbh; local
179 mbh = (void *)(image + m);
180 if (mbh->magic == MB_HEADER_MAGIC) {

Completed in 80 milliseconds