diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2014-06-29 18:38:40 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2014-06-29 18:38:40 +0100 |
| commit | ab7a0f0b6dbe8836d490c736803abef6e3695e1f (patch) | |
| tree | 731672c6bbe31834c2e9010c4dc547fdee7d2a25 /hw/timer/cadence_ttc.c | |
| parent | ed657d7117d751dfaf5b00e5b17e45cd4a6d974d (diff) | |
| download | focaccia-qemu-ab7a0f0b6dbe8836d490c736803abef6e3695e1f.tar.gz focaccia-qemu-ab7a0f0b6dbe8836d490c736803abef6e3695e1f.zip | |
hw/arm/pxa2xx_gpio: Fix handling of GPSR/GPCR reads
The PXA2xx 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/cadence_ttc.c')
0 files changed, 0 insertions, 0 deletions