qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 13/13] i386: acpi: mark SSDT as RSDT entry so API wo


From: Igor Mammedov
Subject: [Qemu-devel] [PATCH 13/13] i386: acpi: mark SSDT as RSDT entry so API would add entry to RSDT automatically
Date: Wed, 28 Jan 2015 10:03:37 +0000

Signed-off-by: Igor Mammedov <address@hidden>
---
 hw/i386/acpi-build.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index d7d2590..da259aa 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -649,6 +649,7 @@ build_ssdt(AcpiAml *table_aml, GArray *linker,
     /* Init SSDT Definition Block */
     ssdt =
         acpi_def_block("SSDT", 1, ACPI_BUILD_APPNAME6, ACPI_BUILD_APPNAME4, 1);
+    ssdt->has_rsdt_entry = true;
 
     scope = acpi_scope("\\_SB.PCI0");
     /* build PCI0._CRS */
@@ -1386,7 +1387,6 @@ void acpi_build(PcGuestInfo *guest_info, AcpiBuildTables 
*tables)
     build_fadt(tables->table_data->buf, tables->linker, &pm, facs, dsdt);
 
     ssdt = tables->table_data->buf->len;
-    acpi_add_table(table_offsets, tables->table_data->buf);
     build_ssdt(tables->table_data, tables->linker, &cpu, &pm, &misc, &pci,
                guest_info);
     aml_len += tables->table_data->buf->len - ssdt;
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]