acpidump(8): Use the hint.acpi.0.rsdp kenv to get at the RSDP.
authorSascha Wildner <saw@online.de>
Sat, 19 Mar 2016 21:14:05 +0000 (22:14 +0100)
committerSascha Wildner <saw@online.de>
Sat, 19 Mar 2016 21:36:55 +0000 (22:36 +0100)
commit2e03c86825036cd962bed294fbe67cad8b721a30
tree909d55a177a1d44a37fa1d8323fb13eb85811f6f
parentaee658d0914098b512a2232d51ec8c2ef7dd5558
acpidump(8): Use the hint.acpi.0.rsdp kenv to get at the RSDP.

Using the kernel env variable instead of the sysctl can be useful
in some circumstances, for example when ACPICA is deactivated
because a box won't run with it active, yet we want to dump the
ACPI tables to investigate the problem. The kernel env variable,
which is set by the loader, is set even if the ACPICA module
is not loaded or ACPICA has been deactivated completely.

Of course, this won't help if there is a problem with finding the
RSDP itself.

I'll submit this commit upstream to Intel.
sys/contrib/dev/acpica/source/os_specific/service_layers/osbsdtbl.c