aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi/acpi-x86-stub.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-12-12 18:03:46 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-12-17 19:33:50 +0100
commite0c0965f0739becb2942b0866d520d80366c2f65 (patch)
tree1ed4236bf1545d6e1bb19fd9fcd3f95637587197 /hw/acpi/acpi-x86-stub.c
parent89a289c7e9fa857f8b0af0c5f060efa7c0ebe6ba (diff)
acpi: move PC stubs out of stubs/
This is a small cleanup that lets microvm build entirely without include/hw/i386/pc.h. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/acpi/acpi-x86-stub.c')
-rw-r--r--hw/acpi/acpi-x86-stub.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/acpi/acpi-x86-stub.c b/hw/acpi/acpi-x86-stub.c
new file mode 100644
index 0000000000..f88d6a090b
--- /dev/null
+++ b/hw/acpi/acpi-x86-stub.c
@@ -0,0 +1,7 @@
+#include "qemu/osdep.h"
+#include "hw/i386/pc.h"
+
+void pc_madt_cpu_entry(AcpiDeviceIf *adev, int uid,
+ const CPUArchIdList *apic_ids, GArray *entry)
+{
+}