Przeglądaj źródła

hw/acpi/acpi_dev_interface: Remove now unused #include "hw/boards.h"

The "hw/boards.h" is unused since the previous commit. Since its removal
requires include fixes in various unrelated files to keep the code compiling it
has been split in a dedicated commit.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230908084234.17642-5-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Bernhard Beschow 1 rok temu
rodzic
commit
4f70dd5f63

+ 1 - 0
hw/acpi/cpu.c

@@ -1,6 +1,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "migration/vmstate.h"
 #include "migration/vmstate.h"
 #include "hw/acpi/cpu.h"
 #include "hw/acpi/cpu.h"
+#include "hw/core/cpu.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qapi/qapi-events-acpi.h"
 #include "qapi/qapi-events-acpi.h"
 #include "trace.h"
 #include "trace.h"

+ 1 - 0
hw/acpi/hmat.c

@@ -27,6 +27,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qemu/units.h"
 #include "sysemu/numa.h"
 #include "sysemu/numa.h"
+#include "hw/acpi/aml-build.h"
 #include "hw/acpi/hmat.h"
 #include "hw/acpi/hmat.h"
 
 
 /*
 /*

+ 2 - 1
hw/acpi/hmat.h

@@ -27,7 +27,8 @@
 #ifndef HMAT_H
 #ifndef HMAT_H
 #define HMAT_H
 #define HMAT_H
 
 
-#include "hw/acpi/aml-build.h"
+#include "hw/acpi/bios-linker-loader.h"
+#include "sysemu/numa.h"
 
 
 /*
 /*
  * ACPI 6.3: 5.2.27.3 Memory Proximity Domain Attributes Structure,
  * ACPI 6.3: 5.2.27.3 Memory Proximity Domain Attributes Structure,

+ 1 - 0
hw/acpi/memory_hotplug.c

@@ -1,6 +1,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "hw/acpi/memory_hotplug.h"
 #include "hw/acpi/memory_hotplug.h"
 #include "hw/mem/pc-dimm.h"
 #include "hw/mem/pc-dimm.h"
+#include "hw/boards.h"
 #include "hw/qdev-core.h"
 #include "hw/qdev-core.h"
 #include "migration/vmstate.h"
 #include "migration/vmstate.h"
 #include "trace.h"
 #include "trace.h"

+ 0 - 1
include/hw/acpi/acpi_dev_interface.h

@@ -3,7 +3,6 @@
 
 
 #include "qapi/qapi-types-acpi.h"
 #include "qapi/qapi-types-acpi.h"
 #include "qom/object.h"
 #include "qom/object.h"
-#include "hw/boards.h"
 #include "hw/qdev-core.h"
 #include "hw/qdev-core.h"
 
 
 /* These values are part of guest ABI, and can not be changed */
 /* These values are part of guest ABI, and can not be changed */