CPU: Get rid of the unused ev5_trap function on the simple and checker CPUs.
This commit is contained in:
parent
8f1f83d13d
commit
c9d01c6557
|
@ -293,7 +293,6 @@ class CheckerCPU : public BaseCPU
|
||||||
|
|
||||||
#if FULL_SYSTEM
|
#if FULL_SYSTEM
|
||||||
Fault hwrei() { return thread->hwrei(); }
|
Fault hwrei() { return thread->hwrei(); }
|
||||||
void ev5_trap(Fault fault) { fault->invoke(tc); }
|
|
||||||
bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
|
bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
|
||||||
#else
|
#else
|
||||||
// Assume that the normal CPU's call to syscall was successful.
|
// Assume that the normal CPU's call to syscall was successful.
|
||||||
|
|
|
@ -387,7 +387,6 @@ class BaseSimpleCPU : public BaseCPU
|
||||||
|
|
||||||
#if FULL_SYSTEM
|
#if FULL_SYSTEM
|
||||||
Fault hwrei() { return thread->hwrei(); }
|
Fault hwrei() { return thread->hwrei(); }
|
||||||
void ev5_trap(Fault fault) { fault->invoke(tc); }
|
|
||||||
bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
|
bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
|
||||||
#else
|
#else
|
||||||
void syscall(int64_t callnum) { thread->syscall(callnum); }
|
void syscall(int64_t callnum) { thread->syscall(callnum); }
|
||||||
|
|
Loading…
Reference in a new issue