]> git.proxmox.com Git - qemu.git/commit
pl330: Don't inhibit ES bits on INTEN
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 2 Apr 2013 17:59:29 +0000 (17:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Apr 2013 15:59:09 +0000 (16:59 +0100)
commitfd7f8a99f3b08640a7fe2b2f3c3e6b68068b4983
treee9f3db64efe88e1d67ec620e35280c10aa23ec1d
parentd8d24fb78cf21205bf672d85231712dc1f0bbb39
pl330: Don't inhibit ES bits on INTEN

This if-else logic inhibits setting of the event status (ES) bits
when interrupts are enabled. This is incorrect. ES should be set
regardless on INTEN state. INTEN only inhibits the signalling of
events to PL330 threads, not setting of the ES register.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/pl330.c