]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: biosdisk interface should be able to cope with 4k sectors
authortsoome <tsoome@FreeBSD.org>
Tue, 23 Oct 2018 14:44:32 +0000 (14:44 +0000)
committertsoome <tsoome@FreeBSD.org>
Tue, 23 Oct 2018 14:44:32 +0000 (14:44 +0000)
commit5e1b29b505bff756b2478e8133608985a493f573
tree016176c0f228e5d563000c12e6f0aaa90a1e311b
parentef4f8d8f54b88cba5ceefa21101a12d1d182f17b
loader: biosdisk interface should be able to cope with 4k sectors

The 4kn support in current bios specific biosdisk.c is broken, as the code
is only implementing the support for the 512B sector size.

This work is building the support for custom size sectors, we still do assume
the requested data to be multiple of 512B blocks and we only do address the
biosdisk.c interface here.

For reference, see also:
https://www.illumos.org/issues/8303
https://www.illumos.org/rb/r/547

As the GELI is moved above biosdisk "layer", the GELI should just work

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D11174
stand/i386/libi386/biosdisk.c