diff options
author | Chander Sudanthi <chander.sudanthi@arm.com> | 2012-05-10 18:04:28 -0500 |
---|---|---|
committer | Chander Sudanthi <chander.sudanthi@arm.com> | 2012-05-10 18:04:28 -0500 |
commit | 1965a89873d95333b31d83438ea468e2c96401f9 (patch) | |
tree | 829dd7ef64e46c08df365a2eec21e7ba2b455d00 /src | |
parent | 200689c53ff70af0d5c17d1a3ba3c0db7d19e243 (diff) | |
download | gem5-1965a89873d95333b31d83438ea468e2c96401f9.tar.xz |
ARM: pl011 raw interrupt fix
Raw interrupt was not being set when interrupt was disabled.
This patch sets the raw interrupt regardless of the mask.
Diffstat (limited to 'src')
-rw-r--r-- | src/dev/arm/pl011.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/arm/pl011.cc b/src/dev/arm/pl011.cc index 2ab92c1db..4be7a5d90 100644 --- a/src/dev/arm/pl011.cc +++ b/src/dev/arm/pl011.cc @@ -185,9 +185,10 @@ Pl011::write(PacketPtr pkt) term->out(data & 0xFF); + //raw interrupt is set regardless of imsc.txim + rawInt.txim = 1; if (imsc.txim) { DPRINTF(Uart, "TX int enabled, scheduling interruptt\n"); - rawInt.txim = 1; if (!intEvent.scheduled()) schedule(intEvent, curTick() + intDelay); } |