diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2014-06-29 18:38:39 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2014-06-29 18:38:39 +0100 |
| commit | 92335a0d4021a3b44ccc88c9fc6c0fd2113f1882 (patch) | |
| tree | 09959745139e7394dc3a607d19878695993e9b1d /hw/timer/omap_gptimer.c | |
| parent | 6e411af9351c1b82c2a749653eb4b8d35bf8c04a (diff) | |
| download | focaccia-qemu-92335a0d4021a3b44ccc88c9fc6c0fd2113f1882.tar.gz focaccia-qemu-92335a0d4021a3b44ccc88c9fc6c0fd2113f1882.zip | |
hw/arm/strongarm: Fix handling of GPSR/GPCR reads
The StrongARM GPIO GPSR and GPCR registers are write-only, with reads being undefined behaviour. Instead of having GPCR return 31337 and GPSR return the value last written, make both log the guest error and return 0. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Diffstat (limited to 'hw/timer/omap_gptimer.c')
0 files changed, 0 insertions, 0 deletions