URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [cpu/] [or1k/] [except.c] - Diff between revs 1686 and 1692
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1686 |
Rev 1692 |
Line 39... |
Line 39... |
#include "sprs.h"
|
#include "sprs.h"
|
#include "debug.h"
|
#include "debug.h"
|
|
|
#if DYNAMIC_EXECUTION
|
#if DYNAMIC_EXECUTION
|
#include "sched.h"
|
#include "sched.h"
|
#include "rec_i386.h"
|
|
#include "op_support.h"
|
#include "op_support.h"
|
#endif
|
#endif
|
|
|
DEFAULT_DEBUG_CHANNEL(except);
|
DEFAULT_DEBUG_CHANNEL(except);
|
|
|
Line 177... |
Line 176... |
* causeing grief if the first instruction of the exception handler is also in
|
* causeing grief if the first instruction of the exception handler is also in
|
* the delay slot of the previous instruction */
|
* the delay slot of the previous instruction */
|
cpu_state.delay_insn = 0;
|
cpu_state.delay_insn = 0;
|
|
|
#if DYNAMIC_EXECUTION
|
#if DYNAMIC_EXECUTION
|
cpu_state.pc = except_vector;
|
do_jump(except_vector);
|
jump_dyn_code(except_vector);
|
|
#endif
|
#endif
|
}
|
}
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.