diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2012-10-12 11:54:37 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-10-12 11:54:37 +0100 |
commit | 884285bf646d93e9dfa4a605bca9f8dc5280b23d (patch) | |
tree | cea704e57f3307c3018043e625a0efea5143c6ce /hw/ppc405.h | |
parent | b4ae3cfa57b8c1bdbbd7b7d420971e9171203ade (diff) | |
download | qemu-884285bf646d93e9dfa4a605bca9f8dc5280b23d.zip qemu-884285bf646d93e9dfa4a605bca9f8dc5280b23d.tar.gz qemu-884285bf646d93e9dfa4a605bca9f8dc5280b23d.tar.bz2 |
cadence_ttc: Fix 'clear on read' behavior
A missing call to qemu_set_irq() when reading the IRQ register
required SW to write to the IRQ register to acknowledge an
interrupt. With this patch the behavior is fixed:
- Reading the interrupt register clears it and updates the timers
interrupt status
- Writes to the interrupt register are ignored
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/ppc405.h')
0 files changed, 0 insertions, 0 deletions