From: Gabe Black Date: Tue, 31 Oct 2006 08:44:39 +0000 (-0500) Subject: Get rid of old, commented out code. X-Git-Tag: m5_2.0_beta2~53^2~85 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eab445e1bc6178bdbd0f4b5fcd5746a84687de65;p=gem5.git Get rid of old, commented out code. --HG-- extra : convert_revision : 46e9f26917efab642b80ea9e4303ec95d43d935e --- diff --git a/src/arch/sparc/faults.cc b/src/arch/sparc/faults.cc index 2c8da44c5..567ca5f5c 100644 --- a/src/arch/sparc/faults.cc +++ b/src/arch/sparc/faults.cc @@ -359,21 +359,6 @@ void SparcFault::invoke(ThreadContext * tc) countStat()++; //Use the SPARC trap state machine - /*// exception restart address - if (setRestartAddress() || !tc->inPalMode()) - tc->setMiscReg(AlphaISA::IPR_EXC_ADDR, tc->regs.pc); - - if (skipFaultingInstruction()) { - // traps... skip faulting instruction. - tc->setMiscReg(AlphaISA::IPR_EXC_ADDR, - tc->readMiscReg(AlphaISA::IPR_EXC_ADDR) + 4); - } - - if (!tc->inPalMode()) - AlphaISA::swap_palshadow(&(tc->regs), true); - - tc->regs.pc = tc->readMiscReg(AlphaISA::IPR_PAL_BASE) + vect(); - tc->regs.npc = tc->regs.pc + sizeof(MachInst);*/ } #endif