CPU: Get rid of the unused ev5_trap function on the simple and checker CPUs.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 31 Aug 2010 16:47:29 +0000 (09:47 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 31 Aug 2010 16:47:29 +0000 (09:47 -0700)
src/cpu/checker/cpu.hh
src/cpu/simple/base.hh

index 73b27161a52feb6371fab38f4c6a4113c29a469d..a2f44106d64c6c392be3d7e7d3eb2b00fb7ea0ae 100644 (file)
@@ -293,7 +293,6 @@ class CheckerCPU : public BaseCPU
 
 #if FULL_SYSTEM
     Fault hwrei() { return thread->hwrei(); }
-    void ev5_trap(Fault fault) { fault->invoke(tc); }
     bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
 #else
     // Assume that the normal CPU's call to syscall was successful.
index 24527f9ebfd97a670d7cd8cb2faf15c670d227dd..0aa0a295c03e683d68e5c405f73d76593b5acb84 100644 (file)
@@ -387,7 +387,6 @@ class BaseSimpleCPU : public BaseCPU
 
 #if FULL_SYSTEM
     Fault hwrei() { return thread->hwrei(); }
-    void ev5_trap(Fault fault) { fault->invoke(tc); }
     bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
 #else
     void syscall(int64_t callnum) { thread->syscall(callnum); }