The usr/src/uts/i86pc/os/acpi_fw.h is dedicated header file for fakebop.c and lgrpplat.c defining instances of acpi tables, effectively duplicating the definitions already in place in acpica headers. Unfortunately it also means the acpi_fw.h is not current by itself nor in regard to acpica definitions.
acpi_fw.h showul be removed and headers provided by acpica should be used instead, making sure the early boot code is current in regard of acpica currently used by the kernel. Note, only structure definitions are used, as acpica itself is not available for very early boot code, the fakebop/lgrpplat implement their own methods to interpret the acpi tables.
reviewboard url: https://www.illumos.org/rb/r/177/
The principal rewrite is done, also some limited testing.
Updated by Electric Monk over 6 years ago
- Status changed from New to Closed
- % Done changed from 80 to 100
commit 7bc870e686dc02eed8049c71d916e03f1c233a1a Author: Toomas Soome <email@example.com> Date: 2016-03-25T20:42:38.000Z 6753 remove acpi_fw.h Reviewed by: Josef 'Jeff' Sipek <firstname.lastname@example.org> Reviewed by: Hans Rosenfeld <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>