aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-07-15 10:05:14 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-07-15 10:14:15 -0400
commit8c3f57ea1217ea0c80a72898bc35baa0e14af0e0 (patch)
tree9c94d10d012a45c86a899dedede16c34403292f4
parent69ea6dabeba4e080fc916a6bc9a2d53ffb4f916c (diff)
downloadseabios-8c3f57ea1217ea0c80a72898bc35baa0e14af0e0.zip
seabios-8c3f57ea1217ea0c80a72898bc35baa0e14af0e0.tar.gz
seabios-8c3f57ea1217ea0c80a72898bc35baa0e14af0e0.tar.bz2
ssdt: Fix building of legacy acpi tables on current iasl compiler
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>
-rw-r--r--src/fw/ssdt-misc.dsl2
-rw-r--r--src/fw/ssdt-pcihp.dsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fw/ssdt-misc.dsl b/src/fw/ssdt-misc.dsl
index acc850e..d1d2c9e 100644
--- a/src/fw/ssdt-misc.dsl
+++ b/src/fw/ssdt-misc.dsl
@@ -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)
{
/****************************************************************
diff --git a/src/fw/ssdt-pcihp.dsl b/src/fw/ssdt-pcihp.dsl
index cb24c11..518a5eb 100644
--- a/src/fw/ssdt-pcihp.dsl
+++ b/src/fw/ssdt-pcihp.dsl
@@ -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)
{
/****************************************************************