HomeFreeBSD

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

Description

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
MFC after: 1 day

Details

Provenance
tsoomeAuthored on
Parents
rS357441: MFC r357298:
Branches
Unknown
Tags
Unknown