libi386/biosacpi.c - bad RSDP checksum search

John Baldwin jhb at freebsd.org
Wed Dec 9 20:32:07 UTC 2009


On Wednesday 09 December 2009 1:46:36 pm Moore, Robert wrote:
> Might be a dumb question, but why is the bootloader looking around for ACPI
> tables in the first place?

I think it only does so for two different reasons.  First, it sets some
kernel environment variables with the locations of the RSDP as well as the
RSDT or XDST.  The FreeBSD version of acpidump will then use these variables
if they are set instead of walking memory to find the tables.  The bigger
reason is that on FreeBSD/i386 ACPI can be compiled as an optional kernel
module (and until 8.0 it was provided as a module rather than statically
compiled into the main kernel image by default), and that the loader will
automatically load the ACPI module when loading a kernel if it detects that
ACPI is present.  This latter functionality is largely obsolete in FreeBSD
8.0 and later though since ACPI is now compiled into the kernel by default.

-- 
John Baldwin


More information about the freebsd-acpi mailing list