Page MenuHomeFreeBSD

Fix ACPI booting with UEFI and static hints file
ClosedPublic

Authored by imp on Apr 6 2016, 8:10 PM.

Details

Summary

Deprecate using hints.acpi.0.rsdp to communicate the RSDP to the
system. This uses the hints mechnanism. This mostly works today
because when there's no static hints (the default), this value can be
fetched from the hint. When there is a static hints file, the hint
passed from the boot loader to the kernel is ignored, but for the BIOS
case we're able to find it anyway. However, with UEFI, the fallback
doesn't work, so we get a panic instead.

Switch to acpi.rsdp and use TUNABLE_ULONG_FETCH instead. Continue to
generate the old values to allow for transitions. In addition, fall
back to the old method if the new method isn't present.

Add comments about all this.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

imp retitled this revision from to Fix ACPI booting with UEFI and static hints file.
imp updated this object.
imp edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.