Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108046879
D35631.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
676 B
Referenced Files
None
Subscribers
None
D35631.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D35631: arm64: Grab the RSDP from acpi.rsdp like x86
Attached
Detach File
Event Timeline
Log In to Comment