diff options
author | Shannon Zhao <shannon.zhao@linaro.org> | 2015-12-17 13:37:13 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-12-17 13:37:13 +0000 |
commit | b0a3721e4403dbc88b77d3735cfa4bcb32ca1789 (patch) | |
tree | 8cf72c601b343417cecfa4934595669f540603b2 /include/hw/arm | |
parent | 45fcf539400a4d42fabc818fdf0536aa16f0fd44 (diff) | |
download | qemu-b0a3721e4403dbc88b77d3735cfa4bcb32ca1789.tar.gz qemu-b0a3721e4403dbc88b77d3735cfa4bcb32ca1789.tar.bz2 qemu-b0a3721e4403dbc88b77d3735cfa4bcb32ca1789.zip |
ARM: Virt: Add a GPIO controller
ACPI 5.0 supports GPIO-signaled ACPI Events. This can be used for
powerdown, hotplug evnets. Add a GPIO controller in machine virt,
to support powerdown, maybe can be used for cpu hotplug. And
here we use pl061.
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Wei Huang <wei@redhat.com>
Tested-by: Wei Huang <wei@redhat.com>
Message-id: 1449804086-3464-4-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r-- | include/hw/arm/virt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h index f464586304..925faa7249 100644 --- a/include/hw/arm/virt.h +++ b/include/hw/arm/virt.h @@ -59,6 +59,7 @@ enum { VIRT_PCIE_ECAM, VIRT_PLATFORM_BUS, VIRT_PCIE_MMIO_HIGH, + VIRT_GPIO, }; typedef struct MemMapEntry { |