LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File seabios.8c3f57ea1217ea0c80a72898bc35baa0e14af0e0.patch of Package qemu-2.7 (Project home:olh:xen-buildrequires)

From: Kevin O'Connor <kevin@koconnor.net>
Date: Sun, 15 Jul 2018 10:05:14 -0400
Subject: 8c3f57ea1217ea0c80a72898bc35baa0e14af0e0

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>
---
 src/fw/ssdt-misc.dsl  | 2 +-
 src/fw/ssdt-pcihp.dsl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- 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)
 {
 
 /****************************************************************
--- 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)
 {
 
 /****************************************************************