summaryrefslogtreecommitdiff
path: root/src/arch/power/interrupts.hh
diff options
context:
space:
mode:
authorMitch Hayenga <mitch.hayenga@arm.com>2016-07-21 17:19:15 +0100
committerMitch Hayenga <mitch.hayenga@arm.com>2016-07-21 17:19:15 +0100
commit8a476d387c84f037d0ccf3cc20dc88870ab45fec (patch)
tree341d4975740d91056a44b13bd43e10bf175d7166 /src/arch/power/interrupts.hh
parentd25b58036a040d8ac733b824e2865e1f5fe43e00 (diff)
downloadgem5-8a476d387c84f037d0ccf3cc20dc88870ab45fec.tar.xz
isa: Modify get/check interrupt routines
Make it so that getInterrupt *always* returns an interrupt if checkInterrupts() returns true. This fixes/simplifies handling of interrupts on the SMT FS CPUs (currently minor).
Diffstat (limited to 'src/arch/power/interrupts.hh')
-rw-r--r--src/arch/power/interrupts.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/power/interrupts.hh b/src/arch/power/interrupts.hh
index 9c11c8e8a..be5c72151 100644
--- a/src/arch/power/interrupts.hh
+++ b/src/arch/power/interrupts.hh
@@ -89,6 +89,7 @@ class Interrupts : public SimObject
Fault
getInterrupt(ThreadContext *tc)
{
+ assert(checkInterrupts(tc));
panic("Interrupts::getInterrupt not implemented.\n");
}