Home
last modified time | relevance | path

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

/freebsd/stand/i386/libi386/
H A Dbiosdisk.c384 struct specification_packet bc_sp; in bd_get_diskinfo_cd() local
387 (void) memset(&bc_sp, 0, sizeof (bc_sp)); in bd_get_diskinfo_cd()
389 bc_sp.sp_size = sizeof (bc_sp) - sizeof (bc_sp.sp_dummy); in bd_get_diskinfo_cd()
395 v86.ds = VTOPSEG(&bc_sp); in bd_get_diskinfo_cd()
396 v86.esi = VTOPOFF(&bc_sp); in bd_get_diskinfo_cd()
400 bc_sp.sp_drive == bd->bd_unit) { in bd_get_diskinfo_cd()
401 bd->bd_cyl = ((bc_sp.sp_cylsec & 0xc0) << 2) + in bd_get_diskinfo_cd()
402 ((bc_sp.sp_cylsec & 0xff00) >> 8) + 1; in bd_get_diskinfo_cd()
403 bd->bd_sec = bc_sp.sp_cylsec & 0x3f; in bd_get_diskinfo_cd()
404 bd->bd_hds = bc_sp.sp_head + 1; in bd_get_diskinfo_cd()
[all …]