diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-02-27 23:26:13 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-02-27 23:26:13 -0500 |
commit | 6165419d356fb0cdbcb70d22dcd2f32e689eb7db (patch) | |
tree | 61dc14eca57e4be6dbfd53d68ae5e2e1ad2343ec /cpu/exec_context.cc | |
parent | 36b2d9815e32781aba1f51acb0b89cdd4f3e2da9 (diff) | |
download | gem5-6165419d356fb0cdbcb70d22dcd2f32e689eb7db.tar.xz |
Changed ev5_trap from a function of the execution context to a function of the fault. The actual function still resides in the execution context.
--HG--
extra : convert_revision : 56e33536cdd9079ace03896b85ea3c84b6eb4e57
Diffstat (limited to 'cpu/exec_context.cc')
-rw-r--r-- | cpu/exec_context.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/exec_context.cc b/cpu/exec_context.cc index cf0ced7b0..7e8b81e18 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 - ev5_trap(fault); + fault->ev5_trap(this); #else fatal("fault (%d) detected @ PC 0x%08p", fault, readPC()); #endif |