summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/alpha/faults.cc2
-rw-r--r--arch/alpha/faults.hh2
-rw-r--r--cpu/exec_context.cc2
-rw-r--r--cpu/simple/cpu.cc4
-rw-r--r--cpu/simple/cpu.hh2
-rw-r--r--sim/faults.hh2
6 files changed, 7 insertions, 7 deletions
diff --git a/arch/alpha/faults.cc b/arch/alpha/faults.cc
index 8c7dc3194..bde7b3db1 100644
--- a/arch/alpha/faults.cc
+++ b/arch/alpha/faults.cc
@@ -99,7 +99,7 @@ FaultStat IntegerOverflowFault::_stat;
#if FULL_SYSTEM
-void AlphaFault::ev5_trap(ExecContext * xc)
+void AlphaFault::invoke(ExecContext * xc)
{
DPRINTF(Fault, "Fault %s at PC: %#x\n", name(), xc->regs.pc);
xc->cpu->recordEvent(csprintf("Fault %s", name()));
diff --git a/arch/alpha/faults.hh b/arch/alpha/faults.hh
index 829edd490..c0316288c 100644
--- a/arch/alpha/faults.hh
+++ b/arch/alpha/faults.hh
@@ -42,7 +42,7 @@ class AlphaFault : public virtual FaultBase
{
public:
#if FULL_SYSTEM
- void ev5_trap(ExecContext * xc);
+ void invoke(ExecContext * xc);
#endif
virtual FaultVect vect() = 0;
};
diff --git a/cpu/exec_context.cc b/cpu/exec_context.cc
index 7e8b81e18..0e787a547 100644
--- a/cpu/exec_context.cc
+++ b/cpu/exec_context.cc
@@ -227,7 +227,7 @@ ExecContext::trap(Fault fault)
/** @todo: Going to hack it for now. Do a true fixup later. */
#if FULL_SYSTEM
- fault->ev5_trap(this);
+ fault->invoke(this);
#else
fatal("fault (%d) detected @ PC 0x%08p", fault, readPC());
#endif
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(); }
diff --git a/sim/faults.hh b/sim/faults.hh
index 9b8c94cda..6a786fe26 100644
--- a/sim/faults.hh
+++ b/sim/faults.hh
@@ -53,7 +53,7 @@ class FaultBase : public RefCounted
virtual FaultName name() = 0;
virtual FaultStat & stat() = 0;
#if FULL_SYSTEM
- virtual void ev5_trap(ExecContext * xc) = 0;
+ virtual void invoke(ExecContext * xc) = 0;
#endif
template<typename T>
bool isA() {return dynamic_cast<T *>(this);}