Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131963865
D32573.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
850 B
Referenced Files
None
Subscribers
None
D32573.diff
View Options
diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c
--- a/usr.sbin/acpi/acpidump/acpi.c
+++ b/usr.sbin/acpi/acpidump/acpi.c
@@ -219,16 +219,22 @@
if (addr_size == 8) {
fadt_revision = 2;
+#if defined(__i386__)
/*
* A few systems (e.g., IBM T23) have an RSDP that claims
* revision 2 but the 64 bit addresses are invalid. If
* revision 2 and the 32 bit address is non-zero but the
* 32 and 64 bit versions don't match, prefer the 32 bit
* version for all subsequent tables.
+ *
+ * The only known ACPI systems this affects are early
+ * implementations on 32-bit x86. Because of this limit the
+ * workaround to i386.
*/
if (fadt->Facs != 0 &&
(fadt->XFacs & 0xffffffff) != fadt->Facs)
fadt_revision = 1;
+#endif
} else
fadt_revision = 1;
return (fadt_revision);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 13, 1:31 PM (18 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23677519
Default Alt Text
D32573.diff (850 B)
Attached To
Mode
D32573: Only change the fadt revision in acpidump on i386
Attached
Detach File
Event Timeline
Log In to Comment