summaryrefslogtreecommitdiffstats
path: root/hw/stellaris.c
diff options
context:
space:
mode:
authorPeter A. G. Crosthwaite2012-07-31 04:24:06 +0200
committerPeter Crosthwaite2012-10-10 03:13:32 +0200
commit1e5b31e6bd4fa8a9c679a18388d2219feece275a (patch)
tree0e4147af61781320e776c1400ee116e3f5314660 /hw/stellaris.c
parentssi: Added create_slave_no_init() (diff)
downloadqemu-1e5b31e6bd4fa8a9c679a18388d2219feece275a.tar.gz
qemu-1e5b31e6bd4fa8a9c679a18388d2219feece275a.tar.xz
qemu-1e5b31e6bd4fa8a9c679a18388d2219feece275a.zip
qdev: allow multiple qdev_init_gpio_in() calls
Allow multiple qdev_init_gpio_in() calls for the one device. The first call will define GPIOs 0-N-1, the next GPIOs N- ... . Allows different GPIOs to be handled with different handlers. Needed when two levels of the QOM class heirachy both define GPIO functionality, as a single GPIO handler with an index selecter is not possible. Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/stellaris.c')
0 files changed, 0 insertions, 0 deletions