Home
last modified time | relevance | path

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

/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosdisk.c377 struct specification_packet bc_sp; in bd_get_diskinfo_cd() local
380 (void) memset(&bc_sp, 0, sizeof (bc_sp)); in bd_get_diskinfo_cd()
382 bc_sp.sp_size = sizeof (bc_sp) - sizeof (bc_sp.sp_dummy); in bd_get_diskinfo_cd()
388 v86.ds = VTOPSEG(&bc_sp); in bd_get_diskinfo_cd()
389 v86.esi = VTOPOFF(&bc_sp); in bd_get_diskinfo_cd()
393 bc_sp.sp_drive == bd->bd_unit) { in bd_get_diskinfo_cd()
394 bd->bd_cyl = ((bc_sp.sp_cylsec & 0xc0) << 2) + in bd_get_diskinfo_cd()
395 ((bc_sp.sp_cylsec & 0xff00) >> 8) + 1; in bd_get_diskinfo_cd()
396 bd->bd_sec = bc_sp.sp_cylsec & 0x3f; in bd_get_diskinfo_cd()
397 bd->bd_hds = bc_sp.sp_head + 1; in bd_get_diskinfo_cd()
[all …]