hw/gpio: Add the emulation of gpio_key
authorShannon Zhao <shannon.zhao@linaro.org>
Wed, 30 Mar 2016 16:27:22 +0000 (17:27 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 30 Mar 2016 16:27:22 +0000 (17:27 +0100)
commite5a8152c9bfd3d40c37711ba5b704f277cbc0c54
treef934ee17be4817f0f357bafa37dc498f3048ffd0
parent489ef4c810033e63af570c8a430af8b9858bfa5f
hw/gpio: Add the emulation of gpio_key

This will be used by ARM virt machine as a power button.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Message-id: 1458221140-15232-2-git-send-email-zhaoshenglong@huawei.com
[PMM: Use hyphen rather than underscore in type names;
 add a comment briefly describing what the device does]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/arm-softmmu.mak
hw/gpio/Makefile.objs
hw/gpio/gpio_key.c [new file with mode: 0644]