Get rid of old, commented out code.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 31 Oct 2006 08:44:39 +0000 (03:44 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 31 Oct 2006 08:44:39 +0000 (03:44 -0500)
--HG--
extra : convert_revision : 46e9f26917efab642b80ea9e4303ec95d43d935e

src/arch/sparc/faults.cc

index 2c8da44c5721dbf34cacd9105e7580e53fcc9ffa..567ca5f5c427487de0c777ea1d8346c118f6d3f4 100644 (file)
@@ -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