From: Chander Sudanthi Date: Thu, 10 May 2012 23:04:28 +0000 (-0500) Subject: ARM: pl011 raw interrupt fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1965a89873d95333b31d83438ea468e2c96401f9;p=gem5.git 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. --- 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); }