Searched refs:current_drive (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c98 unsigned long current_drive = GRUB_INVALID_DRIVE; variable
340 return rawread (current_drive, part_start + sector, byte_offset,
383 && is_disk_device (device_map, current_drive))
389 return write_to_partition (device_map, current_drive, current_partition,
399 if (! rawwrite (current_drive, part_start + sector + i,
412 if (current_drive == NETWORK_DRIVE)
416 && ((current_drive & 0xFFFFFF7F) < 8
417 || current_drive == cdrom_drive)
422 || (current_drive & 0x80)))
523 if (! (current_drive
[all...]
H A Dbuiltins.c221 (current_drive & 0x80) ? 'h' : 'f',
222 current_drive & ~0x80);
327 if (current_drive == NETWORK_DRIVE) {
866 assign_device_name (current_drive, device);
1453 if (! (current_drive & 0x80))
1460 if (! rawread (current_drive, PC_MBR_SECTOR, 0, SECTOR_SIZE, mbr))
1482 if (! rawread (current_drive, 1, 0, 2 * SECTOR_SIZE, ezbios_check))
1649 current_drive = drive;
1654 saved_drive = current_drive;
1686 saved_drive = current_drive;
[all...]
H A Dcmdline.c106 current_drive = GRUB_INVALID_DRIVE;
H A Dfsys_vstafs.c50 if( (((current_drive & 0x80) || (current_slice != 0))
H A Dfsys_ffs.c85 if ((((current_drive & 0x80) || (current_slice != 0))
H A Dfsys_ufs2.c90 if (! (((current_drive & 0x80) || (current_slice != 0))
H A Dfsys_minix.c163 if (((current_drive & 0x80) || current_slice != 0)
H A Dfsys_fat.c74 if (((current_drive & 0x80) || (current_slice != 0))
H A Dfsys_iso9660.c103 return rawread(current_drive, part_start + sector, byte_offset, byte_len, buf);
H A Dfsys_ext2fs.c305 if ((((current_drive & 0x80) || (current_slice != 0))
H A Dboot.c483 mbi.boot_device = (current_drive << 24) | current_partition;
H A Dstage2.c683 current_drive = GRUB_INVALID_DRIVE;
H A Dshared.h678 extern unsigned long current_drive;
H A Dasm.S944 movb EXT_C(current_drive), %dl
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dfsys_tftp.c488 if (current_drive != NETWORK_DRIVE)

Completed in 105 milliseconds