aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/cadence_ttc.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-29 18:38:40 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-06-29 18:38:40 +0100
commitab7a0f0b6dbe8836d490c736803abef6e3695e1f (patch)
tree731672c6bbe31834c2e9010c4dc547fdee7d2a25 /hw/timer/cadence_ttc.c
parented657d7117d751dfaf5b00e5b17e45cd4a6d974d (diff)
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