[FREELDR] Load the Firmware Errata file specified in the registry. (#1951)
authorMark Harmstone <mark@harmstone.com>
Mon, 9 Sep 2019 19:09:57 +0000 (20:09 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 5 Oct 2019 21:20:53 +0000 (23:20 +0200)
commitf551caa8407f5ca3b52f1cd41da308ed4fd3ee71
treeba81872db3b9bdcffcc91c2576dcb64cfcb4ad25
parent22fbfb0df9339c3c53428ade5b88b1e5752a4d80
[FREELDR] Load the Firmware Errata file specified in the registry. (#1951)

On Windows <= 2003 (and current ReactOS), this is the "InfName" value
in the "HKEY_LOCAL_MACHINE\CurrentControlSet\Control\BiosInfo\" key.
(The default file name found there is 'biosinfo.inf'.)

On Vista+, this is the "InfName" value in the
"HKEY_LOCAL_MACHINE\CurrentControlSet\Control\Errata\" key.
(The default file name found there is 'errata.inf'.)

For 1st-stage setup, the file is specified in the "InfName" value of
the "BiosInfo" section in the TXTSETUP.SIF file.

Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
boot/freeldr/freeldr/ntldr/setupldr.c
boot/freeldr/freeldr/ntldr/winldr.c