Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/boot/installboot/sparc/
H A Dinstallboot.c67 char mboot_scan[MBOOT_SCAN_SIZE]; variable
196 if (read_in(dev_fd, mboot_scan, sizeof (mboot_scan), in read_bootblock_from_disk()
204 if (find_multiboot(mboot_scan, sizeof (mboot_scan), &mboot_off) in read_bootblock_from_disk()
209 mboot = (multiboot_header_t *)(mboot_scan + mboot_off); in read_bootblock_from_disk()
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c91 char mboot_scan[MBOOT_SCAN_SIZE]; variable
1235 if (read_in(dev_fd, mboot_scan, sizeof (mboot_scan), in read_stage2_from_disk()
1242 if (find_multiboot(mboot_scan, sizeof (mboot_scan), &mboot_off) in read_stage2_from_disk()
1247 mboot = (multiboot_header_t *)(mboot_scan + mboot_off); in read_stage2_from_disk()
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c157 char mboot_scan[MBOOT_SCAN_SIZE]; variable
628 scan_size = MIN(sizeof (mboot_scan), in read_stage2_cb()
631 if (read_in(fd, mboot_scan, scan_size, offset) in read_stage2_cb()
640 if (find_multiboot(mboot_scan, scan_size, &mboot_off) in read_stage2_cb()
646 mboot = (multiboot_header_t *)(mboot_scan + mboot_off); in read_stage2_cb()