Searched refs:stage1_buf (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 585 if (read_stage1_from_disk(src_device->part_fd, target->stage1_buf) in propagate_bootblock() 1036 if (write_out(device->part_fd, install->stage1_buf, in write_stage1() 1037 sizeof (install->stage1_buf), 0) != BC_SUCCESS) { in write_stage1() 1048 if (write_out(device->disk_fd, install->stage1_buf, in write_stage1() 1049 sizeof (install->stage1_buf), 0) != BC_SUCCESS) { in write_stage1() 1084 read(fd, dest->stage1_buf, SECTOR_SIZE) != SECTOR_SIZE) { in read_stage1_from_file() 1183 install->stage1_buf + STAGE1_BPB_OFFSET, STAGE1_BPB_SIZE); in prepare_stage1() 1187 bcopy(device->boot_sector + BOOTSZ, install->stage1_buf + BOOTSZ, in prepare_stage1() 1190 *((unsigned char *)(install->stage1_buf + STAGE1_FORCE_LBA)) = 1; in prepare_stage1() 1191 *((ulong_t *)(install->stage1_buf + STAGE1_STAGE2_SECTOR)) in prepare_stage1() [all …]
|
H A D | installgrub.h | 64 char stage1_buf[SECTOR_SIZE]; member
|