8303 loader: biosdisk interface should be able to cope with 4k sectors
Review Request #547 — Created May 29, 2017 and submitted — Latest diff uploaded
loader: 4k block io
This patch is really just about "custom" sector size support in biosdisk.c, with intention to support the sector sizes 512, 2048, 4096, so we could merge biosdisk and bioscd interfaces to reduce the code duplication.
The actual merge shall be implemented as separate patch.
The 4kn disk boot support will additionally need pmbr code update, as the current implementation is assuming 512B sectors.
This code is currently tested on 2 systems, one with 6TB disks and another with 8TB disks and the fix is confirmed (details are in issue 8303).