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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user