]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commitdiff
ssdt: Fix building of legacy acpi tables on current iasl compiler 1.11-stable
authorKevin O'Connor <kevin@koconnor.net>
Sun, 15 Jul 2018 14:05:14 +0000 (10:05 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 29 Aug 2018 12:30:32 +0000 (14:30 +0200)
Recent versions of the iasl compiler raise an error if the table id is
longer than 8 characters.  Older versions of iasl would silently
truncate the table id to 8 characters.  Change the ssdt-misc and
ssdt-pcihp files to use an 8 character id - this should not directly
impact the generated aml code as the table id was already being
truncated - but may help those wishing to manually compile the tables.

Reported by Michael Tokarev, Vivia Nikolaidou, and several others.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
(cherry picked from commit 8c3f57ea1217ea0c80a72898bc35baa0e14af0e0)

src/fw/ssdt-misc.dsl
src/fw/ssdt-pcihp.dsl

index acc850e8432a2498c6255b6bc12f9ee6ea235e88..d1d2c9e344e4c973c072ac0ce1ab37012ffc49a6 100644 (file)
@@ -1,6 +1,6 @@
 ACPI_EXTRACT_ALL_CODE ssdp_misc_aml
 
-DefinitionBlock ("ssdt-misc.aml", "SSDT", 0x01, "BXPC", "BXSSDTSUSP", 0x1)
+DefinitionBlock ("ssdt-misc.aml", "SSDT", 0x01, "BXPC", "BXSSDTSU", 0x1)
 {
 
 /****************************************************************
index cb24c11ced1acdade06d4f0014edd17c1e82b93b..518a5ebfb980f6cc04c9c6f01bb8eb6576883892 100644 (file)
@@ -1,6 +1,6 @@
 ACPI_EXTRACT_ALL_CODE ssdp_pcihp_aml
 
-DefinitionBlock ("ssdt-pcihp.aml", "SSDT", 0x01, "BXPC", "BXSSDTPCIHP", 0x1)
+DefinitionBlock ("ssdt-pcihp.aml", "SSDT", 0x01, "BXPC", "BXSSDTPC", 0x1)
 {
 
 /****************************************************************