fixes pending irq within irq hander behavior
This commit is contained in:
parent
a977200284
commit
40d1966e9a
@ -1200,6 +1200,7 @@ template <typename BASE, features_e FEAT> uint64_t riscv_hart_m_p<BASE, FEAT>::l
|
||||
this->reg.NEXT_PC = csr[mepc] & get_pc_mask();
|
||||
CLOG(INFO, disass) << "Executing xRET";
|
||||
check_interrupt();
|
||||
this->trap_state = this->pending_trap;
|
||||
return this->reg.NEXT_PC;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user