Searched refs:boot_sect (Results 1 – 2 of 2) sorted by relevance
98 char boot_sect[512]; in get_sol_prtnum() local133 sz = read(fd, boot_sect, sizeof (boot_sect)); in get_sol_prtnum()136 if (sz != sizeof (boot_sect)) in get_sol_prtnum()140 mb = (struct mboot *)(uintptr_t)boot_sect; in get_sol_prtnum()
5563 char boot_sect[SECTOR_SIZE]; local5583 if (fd == -1 || read(fd, boot_sect, SECTOR_SIZE) != SECTOR_SIZE) {5614 mboot = (struct mboot *)((void *)boot_sect);