diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-10-31 03:44:39 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-10-31 03:44:39 -0500 |
commit | eab445e1bc6178bdbd0f4b5fcd5746a84687de65 (patch) | |
tree | 31f0feeae3d1b7466befefc9cc0ab40bf6993b2e | |
parent | 038217049a952a67f29b79c416a35d89fea31f70 (diff) | |
download | gem5-eab445e1bc6178bdbd0f4b5fcd5746a84687de65.tar.xz |
Get rid of old, commented out code.
--HG--
extra : convert_revision : 46e9f26917efab642b80ea9e4303ec95d43d935e
-rw-r--r-- | src/arch/sparc/faults.cc | 15 |
1 files changed, 0 insertions, 15 deletions
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 |