projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff29e00
)
CPU: Add a getInterruptController function
author
Gabe Black
<gblack@eecs.umich.edu>
Sat, 11 Oct 2008 23:13:58 +0000
(16:13 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Sat, 11 Oct 2008 23:13:58 +0000
(16:13 -0700)
src/cpu/base.hh
patch
|
blob
|
history
diff --git
a/src/cpu/base.hh
b/src/cpu/base.hh
index c2b78a6754cfe1df6d0bc7e7019977b4f7a988e8..7b7ad9be0efef8f8be4c546b3b1f509ce4cf2f3a 100644
(file)
--- 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();