summaryrefslogtreecommitdiff
path: root/src/cpu/base.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/base.hh')
-rw-r--r--src/cpu/base.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/base.hh b/src/cpu/base.hh
index c2b78a675..7b7ad9be0 100644
--- a/src/cpu/base.hh
+++ b/src/cpu/base.hh
@@ -110,6 +110,12 @@ class BaseCPU : public MemObject
TheISA::Interrupts interrupts;
public:
+ TheISA::Interrupts *
+ getInterruptController()
+ {
+ return &interrupts;
+ }
+
virtual void post_interrupt(int int_num, int index);
virtual void clear_interrupt(int int_num, int index);
virtual void clear_interrupts();