From 8a476d387c84f037d0ccf3cc20dc88870ab45fec Mon Sep 17 00:00:00 2001 From: Mitch Hayenga Date: Thu, 21 Jul 2016 17:19:15 +0100 Subject: 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). --- src/arch/power/interrupts.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/arch/power') 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"); } -- cgit v1.2.3