summaryrefslogtreecommitdiff
path: root/src/cpu/base.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-03-03 19:03:22 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-03-03 19:03:22 -0500
commit82874eefca231fa960fbd39a90ed98929915c414 (patch)
tree8646c2358edec660d123e45d20885a366d0815de /src/cpu/base.cc
parent61178c8de20d334e9c5cf0454d453880a5fff928 (diff)
parent1694c65ba169a555bd642d3352c65be41a36ce4d (diff)
downloadgem5-82874eefca231fa960fbd39a90ed98929915c414.tar.xz
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem --HG-- extra : convert_revision : fd6464c9883783c7c2cbefba317f4a0f20dd24cb
Diffstat (limited to 'src/cpu/base.cc')
-rw-r--r--src/cpu/base.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/cpu/base.cc b/src/cpu/base.cc
index d5a023c59..104b3b6bb 100644
--- a/src/cpu/base.cc
+++ b/src/cpu/base.cc
@@ -372,12 +372,6 @@ BaseCPU::ProfileEvent::process()
}
void
-BaseCPU::post_interrupt(int int_type)
-{
- interrupts.post(int_type);
-}
-
-void
BaseCPU::post_interrupt(int int_num, int index)
{
interrupts.post(int_num, index);
@@ -395,6 +389,11 @@ BaseCPU::clear_interrupts()
interrupts.clear_all();
}
+uint64_t
+BaseCPU::get_interrupts(int int_num)
+{
+ return interrupts.get_vec(int_num);
+}
void
BaseCPU::serialize(std::ostream &os)