summary refs log tree commit diff stats
path: root/hw/i2c/bitbang_i2c.c
diff options
context:
space:
mode:
authorMarcin Krzeminski <marcin.krzeminski@nokia.com>2016-11-07 10:00:24 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-11-07 10:00:24 +0000
commit3bc4b52ccd7754de4fb177871f1c5eaaa61ec7ef (patch)
treec24d1e169d01bd8dc2e7cb02abb1f51994640486 /hw/i2c/bitbang_i2c.c
parent6e29651c5e3a0e0336818574f273b3f6ecea491d (diff)
downloadfocaccia-qemu-3bc4b52ccd7754de4fb177871f1c5eaaa61ec7ef.tar.gz
focaccia-qemu-3bc4b52ccd7754de4fb177871f1c5eaaa61ec7ef.zip
nvic: set pending status for not active interrupts
According to ARM DUI 0552A 4.2.10. NVIC set pending status
also for disabled interrupts. Correct the logic for
when interrupts are marked pending both on input level
transition and when interrupts are dismissed, to match
the NVIC behaviour rather than the 11MPCore GIC.

Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c/bitbang_i2c.c')
0 files changed, 0 insertions, 0 deletions