]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r357442:
authorToomas Soome <tsoome@FreeBSD.org>
Tue, 4 Feb 2020 07:15:33 +0000 (07:15 +0000)
committerToomas Soome <tsoome@FreeBSD.org>
Tue, 4 Feb 2020 07:15:33 +0000 (07:15 +0000)
commit818bccc14c0044001461afb552a66501da41bad2
treed0e9aa2c03f1f6433327f96768f6a5a296785e11
parentbb480c19961fd8c64c86f345af39454a9cffa905
MFC r357442:

loader: bc_add can not use any other probes than ah=0x4b

CD boot is broken for some systems since bioscd and biosdisk merge. The issue is that we can not use anything else than int 13 ah=0x4b to query cd information.

The patch does restore the same probe as was originally used in bioscd.c. Additionally extra buffer padding is used to avoid memory corruption caused by some systems.

PR: 234031
Reported by: ultramage and others
stand/i386/libi386/biosdisk.c