Searched refs:stage1_buf (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 1044 if (write_out(device->part_fd, install->stage1_buf, in write_stage1() 1045 sizeof (install->stage1_buf), 0) != BC_SUCCESS) { in write_stage1() 1056 if (write_out(device->disk_fd, install->stage1_buf, in write_stage1() 1057 sizeof (install->stage1_buf), 0) != BC_SUCCESS) { in write_stage1() 1092 read(fd, dest->stage1_buf, SECTOR_SIZE) != SECTOR_SIZE) { in read_stage1_from_file() 1191 install->stage1_buf + STAGE1_BPB_OFFSET, STAGE1_BPB_SIZE); in prepare_stage1() 1199 *((ulong_t *)(install->stage1_buf + STAGE1_STAGE2_SECTOR)) in prepare_stage1() 1201 *((ushort_t *)(install->stage1_buf + STAGE1_STAGE2_ADDRESS)) in prepare_stage1() 1203 *((ushort_t *)(install->stage1_buf + STAGE1_STAGE2_SEGMENT)) in prepare_stage1() 1213 read_stage1_from_disk(int dev_fd, char *stage1_buf) in read_stage1_from_disk() argument [all …]
|
H A D | installgrub.h | 64 char stage1_buf[SECTOR_SIZE]; member
|