diff options
author | Gabe Black <gabeblack@google.com> | 2019-04-27 20:51:22 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-04-30 07:37:51 +0000 |
commit | 40cc7cdd53540ded69f055262b087dca54f5b715 (patch) | |
tree | ac7c19e9023295b717e92ec330af9febe39ed78b /src/cpu/o3/cpu.cc | |
parent | 0eb763c77f7f33694656984fcdac53bf52c3dacb (diff) | |
download | gem5-40cc7cdd53540ded69f055262b087dca54f5b715.tar.xz |
cpu: Remove hwrei from the generic interfaces.
This mechanism is specific to Alpha and doesn't belong sprinkled around
the CPU's generic mechanisms.
Change-Id: I87904d1a08df2b03eb770205e2c4b94db25201a1
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18432
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/cpu/o3/cpu.cc')
-rw-r--r-- | src/cpu/o3/cpu.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc index 70417d51f..ba6e80ff2 100644 --- a/src/cpu/o3/cpu.cc +++ b/src/cpu/o3/cpu.cc @@ -918,24 +918,6 @@ FullO3CPU<Impl>::removeThread(ThreadID tid) } template <class Impl> -Fault -FullO3CPU<Impl>::hwrei(ThreadID tid) -{ -#if THE_ISA == ALPHA_ISA - // Need to clear the lock flag upon returning from an interrupt. - this->setMiscRegNoEffect(AlphaISA::MISCREG_LOCKFLAG, false, tid); - - auto *stats = dynamic_cast<AlphaISA::Kernel::Statistics *>( - this->thread[tid]->kernelStats); - assert(stats); - stats->hwrei(); - - // FIXME: XXX check for interrupts? XXX -#endif - return NoFault; -} - -template <class Impl> bool FullO3CPU<Impl>::simPalCheck(int palFunc, ThreadID tid) { |