mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-20 03:47:15 -04:00
[dv] Don't set sync_exc_seen in Debug Mode
Signed-off-by: Canberk Topal <ctopal@lowrisc.org>
This commit is contained in:
parent
7b0921e14c
commit
bd8bee8a72
1 changed files with 5 additions and 4 deletions
|
@ -459,10 +459,11 @@ void SpikeCosim::leave_nmi_mode() {
|
|||
}
|
||||
|
||||
void SpikeCosim::handle_cpuctrl_exception_entry() {
|
||||
bool old_sync_exc_seen = change_cpuctrlsts_sync_exc_seen(true);
|
||||
|
||||
if (old_sync_exc_seen) {
|
||||
set_cpuctrlsts_double_fault_seen();
|
||||
if (!processor->get_state()->debug_mode) {
|
||||
bool old_sync_exc_seen = change_cpuctrlsts_sync_exc_seen(true);
|
||||
if (old_sync_exc_seen) {
|
||||
set_cpuctrlsts_double_fault_seen();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue