summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi/pc-hotplug.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2014-06-02 15:25:16 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-06-19 16:41:49 +0300
commit3ef77acab21210b7d0853bf95798f8e0e748e500 (patch)
treec042c6c143ed7df50913e5b521a364e093b444d8 /include/hw/acpi/pc-hotplug.h
parent7e629d1d8d09d9e9294def8bcac9c0f283e9b909 (diff)
downloadhqemu-3ef77acab21210b7d0853bf95798f8e0e748e500.zip
hqemu-3ef77acab21210b7d0853bf95798f8e0e748e500.tar.gz
acpi: memory hotplug ACPI hardware implementation
- implements QEMU hardware part of memory hotplug protocol described at "docs/specs/acpi_mem_hotplug.txt" - handles only memory add notification event for now 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>
Diffstat (limited to 'include/hw/acpi/pc-hotplug.h')
-rw-r--r--include/hw/acpi/pc-hotplug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/acpi/pc-hotplug.h b/include/hw/acpi/pc-hotplug.h
index cee479d..01d38e2 100644
--- a/include/hw/acpi/pc-hotplug.h
+++ b/include/hw/acpi/pc-hotplug.h
@@ -29,4 +29,7 @@
#define ICH9_CPU_HOTPLUG_IO_BASE 0x0CD8
#define PIIX4_CPU_HOTPLUG_IO_BASE 0xaf00
+#define ACPI_MEMORY_HOTPLUG_IO_LEN 24
+#define ACPI_MEMORY_HOTPLUG_BASE 0x0a00
+
#endif
OpenPOWER on IntegriCloud