diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-10-12 08:24:09 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-10-12 08:24:09 -0700 |
commit | c4f1cc3b482311f878be44259125c9a5b90c0569 (patch) | |
tree | 45e108b762d6876c150d3f56171c005e3474405a /src/cpu | |
parent | 0c3848732ee33cf14a80129f6cf7ee84d51c8bfb (diff) | |
download | gem5-c4f1cc3b482311f878be44259125c9a5b90c0569.tar.xz |
CPU: Eliminate the get_vec function.
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/base.cc | 6 | ||||
-rw-r--r-- | src/cpu/base.hh | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/cpu/base.cc b/src/cpu/base.cc index 5a0359e53..1ca0dc14b 100644 --- a/src/cpu/base.cc +++ b/src/cpu/base.cc @@ -396,12 +396,6 @@ 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) { diff --git a/src/cpu/base.hh b/src/cpu/base.hh index 7b7ad9be0..c99efa834 100644 --- a/src/cpu/base.hh +++ b/src/cpu/base.hh @@ -119,7 +119,6 @@ class BaseCPU : public MemObject virtual void post_interrupt(int int_num, int index); virtual void clear_interrupt(int int_num, int index); virtual void clear_interrupts(); - virtual uint64_t get_interrupts(int int_num); bool check_interrupts(ThreadContext * tc) const { return interrupts.check_interrupts(tc); } |