Page MenuHomeFreeBSD

D35631.diff
No OneTemporary

D35631.diff

diff --git a/sys/arm64/acpica/OsdEnvironment.c b/sys/arm64/acpica/OsdEnvironment.c
--- a/sys/arm64/acpica/OsdEnvironment.c
+++ b/sys/arm64/acpica/OsdEnvironment.c
@@ -60,6 +60,16 @@
{
long acpi_root;
+ if (TUNABLE_ULONG_FETCH("acpi.rsdp", &acpi_root))
+ return (acpi_root);
+
+ /*
+ * The hints mechanism is unreliable (it fails if anybody ever
+ * compiled in hints to the kernel). It has been replaced
+ * by the tunable method, but is used here as a fallback to
+ * retain maximum compatibility between old loaders and new
+ * kernels. It can be removed after 14.0R.
+ */
if (resource_long_value("acpi", 0, "rsdp", &acpi_root) == 0)
return (acpi_root);

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 21, 9:18 PM (20 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16020665
Default Alt Text
D35631.diff (676 B)

Event Timeline