Home
last modified time | relevance | path

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

/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosdisk.c111 int bd_cyl; /* BIOS geometry */ member
394 bd->bd_cyl = ((bc_sp.sp_cylsec & 0xc0) << 2) + in bd_get_diskinfo_cd()
398 bd->bd_sectors = (uint64_t)bd->bd_cyl * bd->bd_hds * bd->bd_sec; in bd_get_diskinfo_cd()
415 bd->bd_cyl = 0; in bd_get_diskinfo_cd()
524 bd->bd_cyl = ((v86.ecx & 0xc0) << 2) + ((v86.ecx & 0xff00) >> 8) + 1; in bd_get_diskinfo_std()
529 bd->bd_sectors = (uint64_t)bd->bd_cyl * bd->bd_hds * bd->bd_sec; in bd_get_diskinfo_std()
577 bd->bd_cyl = params->cylinders; in bd_get_diskinfo_ext()
644 bd->bd_cyl = 80; in bd_int13probe()
657 bd->bd_cyl = in bd_int13probe()
680 bd->bd_sectors = (uint64_t)bd->bd_cyl * bd->bd_hds * bd->bd_sec; in bd_int13probe()
[all …]