summaryrefslogtreecommitdiff
path: root/src/dev/arm/base_gic.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/arm/base_gic.hh')
-rw-r--r--src/dev/arm/base_gic.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dev/arm/base_gic.hh b/src/dev/arm/base_gic.hh
index 73d73e471..c5dfa3e82 100644
--- a/src/dev/arm/base_gic.hh
+++ b/src/dev/arm/base_gic.hh
@@ -128,6 +128,9 @@ class ArmInterruptPin : public SimObject
*/
void setThreadContext(ThreadContext *tc);
+ /** Get interrupt number */
+ uint32_t num() const { return intNum; }
+
/** Signal an interrupt */
virtual void raise() = 0;
/** Clear a signalled interrupt */