summary refs log tree commit diff stats
path: root/include/hw/acpi/memory_hotplug.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2016-12-06 00:32:23 +0100
committerMichael S. Tsirkin <mst@redhat.com>2017-01-10 07:03:23 +0200
commit75ff0f0c901eecb5148e2d332a3b8dbbf4ab5821 (patch)
treeadcd74fa4c231392fb37417a9213873fa64903d2 /include/hw/acpi/memory_hotplug.h
parenta2088da36e940ed591023799fbc0ac3d2bb25782 (diff)
downloadfocaccia-qemu-75ff0f0c901eecb5148e2d332a3b8dbbf4ab5821.tar.gz
focaccia-qemu-75ff0f0c901eecb5148e2d332a3b8dbbf4ab5821.zip
memhp: move build_memory_devices() into memory_hotplug.c
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Diffstat (limited to 'include/hw/acpi/memory_hotplug.h')
-rw-r--r--include/hw/acpi/memory_hotplug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/acpi/memory_hotplug.h b/include/hw/acpi/memory_hotplug.h
index d2c7452397..964c2442a6 100644
--- a/include/hw/acpi/memory_hotplug.h
+++ b/include/hw/acpi/memory_hotplug.h
@@ -54,4 +54,6 @@ void acpi_memory_ospm_status(MemHotplugState *mem_st, ACPIOSTInfoList ***list);
 
 void build_memory_hotplug_aml(Aml *ctx, uint32_t nr_mem,
                               uint16_t io_base, uint16_t io_len);
+void build_memory_devices(Aml *sb_scope, int nr_mem,
+                          uint16_t io_base, uint16_t io_len);
 #endif