summaryrefslogtreecommitdiff
path: root/src/arch/mips/utility.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mips/utility.cc')
-rw-r--r--src/arch/mips/utility.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arch/mips/utility.cc b/src/arch/mips/utility.cc
index 495845d7f..24c451d3e 100644
--- a/src/arch/mips/utility.cc
+++ b/src/arch/mips/utility.cc
@@ -217,17 +217,6 @@ isSnan(void *val_ptr, int size)
}
}
-template <class CPU>
-void
-zeroRegisters(CPU *cpu)
-{
- // Insure ISA semantics
- // (no longer very clean due to the change in setIntReg() in the
- // cpu model. Consider changing later.)
- cpu->thread->setIntReg(ZeroReg, 0);
- cpu->thread->setFloatReg(ZeroReg, 0);
-}
-
void
startupCPU(ThreadContext *tc, int cpuId)
{