qemu-e2k/hw/gpio
Wei Huang 09aa3bf382 ARM: PL061: Checking register r/w accesses to reserved area
pl061.c emulates two GPIO devices, ARM PL061 and TI Stellaris, which
share the same read/write functions (pl061_read and pl061_write).
However PL061 and Stellaris have different GPIO register definitions
and pl061_read()/pl061_write() doesn't check it. This patch enforces
checking on offset, preventing R/W into the reserved memory area.

Signed-off-by: Wei Huang <wei@redhat.com>
Message-id: 1455814580-17699-1-git-send-email-wei@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-02-26 15:09:42 +00:00
..
Makefile.objs i.MX: Add GPIO device 2015-09-14 14:39:49 +01:00
imx_gpio.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
max7310.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
mpc8xxx.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
omap_gpio.c arm devices: Clean up includes 2016-01-29 15:07:25 +00:00
pl061.c ARM: PL061: Checking register r/w accesses to reserved area 2016-02-26 15:09:42 +00:00
puv3_gpio.c unicore: Clean up includes 2016-01-29 15:07:22 +00:00
zaurus.c arm devices: Clean up includes 2016-01-29 15:07:25 +00:00