From e08cf8fee0a2732aab1d4c6d0ba152282aad9714 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 1 Mar 2006 01:23:10 -0500 Subject: Changed the name of the fault's invocation method from ev5_trap to invoke. --HG-- extra : convert_revision : b7ab14ac644f6a38c69aaa5372b3002b21f34af0 --- cpu/simple/cpu.cc | 4 ++-- cpu/simple/cpu.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cpu/simple') diff --git a/cpu/simple/cpu.cc b/cpu/simple/cpu.cc index e5c2e18cf..85a3c19ac 100644 --- a/cpu/simple/cpu.cc +++ b/cpu/simple/cpu.cc @@ -687,7 +687,7 @@ SimpleCPU::tick() if (ipl && ipl > xc->readMiscReg(IPR_IPLR)) { xc->setMiscReg(IPR_ISR, summary); xc->setMiscReg(IPR_INTID, ipl); - Fault(new InterruptFault)->ev5_trap(xc); + Fault(new InterruptFault)->invoke(xc); DPRINTF(Flow, "Interrupt! IPLR=%d ipl=%d summary=%x\n", xc->readMiscReg(IPR_IPLR), ipl, summary); @@ -811,7 +811,7 @@ SimpleCPU::tick() if (fault != NoFault) { #if FULL_SYSTEM - fault->ev5_trap(xc); + fault->invoke(xc); #else // !FULL_SYSTEM fatal("fault (%d) detected @ PC 0x%08p", fault, xc->regs.pc); #endif // FULL_SYSTEM diff --git a/cpu/simple/cpu.hh b/cpu/simple/cpu.hh index 243172821..8396937a8 100644 --- a/cpu/simple/cpu.hh +++ b/cpu/simple/cpu.hh @@ -347,7 +347,7 @@ class SimpleCPU : public BaseCPU int readIntrFlag() { return xc->readIntrFlag(); } void setIntrFlag(int val) { xc->setIntrFlag(val); } bool inPalMode() { return xc->inPalMode(); } - void ev5_trap(Fault fault) { fault->ev5_trap(xc); } + void ev5_trap(Fault fault) { fault->invoke(xc); } bool simPalCheck(int palFunc) { return xc->simPalCheck(palFunc); } #else void syscall() { xc->syscall(); } -- cgit v1.2.3