From 1965a89873d95333b31d83438ea468e2c96401f9 Mon Sep 17 00:00:00 2001 From: Chander Sudanthi Date: Thu, 10 May 2012 18:04:28 -0500 Subject: [PATCH] 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. --- src/dev/arm/pl011.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.30.2