diff options
author | Igor Mammedov <imammedo@redhat.com> | 2016-12-06 00:32:26 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-01-10 07:03:24 +0200 |
commit | d1957dac344f08f79a64b90ed2cb4406581362fb (patch) | |
tree | 4cccbac28ba3b3c2dd9c57af372c7dc1e938b82a /include | |
parent | 8b35ab271c069c212ff2a107a6bc5478eba097f1 (diff) | |
download | qemu-d1957dac344f08f79a64b90ed2cb4406581362fb.zip qemu-d1957dac344f08f79a64b90ed2cb4406581362fb.tar.gz qemu-d1957dac344f08f79a64b90ed2cb4406581362fb.tar.bz2 |
memhp: move GPE handler_E03 into build_memory_hotplug_aml()
>From this patch all the memory hotplug related AML
bits are consolidated in one place within DSTD.
Follow up patches will utilize that to simplify
memory hotplug related C/AML code.
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')
-rw-r--r-- | include/hw/acpi/memory_hotplug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hw/acpi/memory_hotplug.h b/include/hw/acpi/memory_hotplug.h index 6dc48d2..37e2706 100644 --- a/include/hw/acpi/memory_hotplug.h +++ b/include/hw/acpi/memory_hotplug.h @@ -49,9 +49,9 @@ void acpi_memory_ospm_status(MemHotplugState *mem_st, ACPIOSTInfoList ***list); #define MEMORY_HOTPLUG_DEVICE "MHPD" #define MEMORY_SLOT_SCAN_METHOD "MSCN" -#define MEMORY_HOTPLUG_HANDLER_PATH "\\_SB.PCI0." \ - MEMORY_HOTPLUG_DEVICE "." MEMORY_SLOT_SCAN_METHOD void build_memory_hotplug_aml(Aml *table, uint32_t nr_mem, - uint16_t io_base, uint16_t io_len); + uint16_t io_base, uint16_t io_len, + const char *res_root, + const char *event_handler_method); #endif |