Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sw/lib] restore previous registers in neorv32_xirq_get_num function
neorv32_xirq_get_num didn't restore previous CSR_MIE and NEORV32_XIRQ->EIE register and could cause unexpected side effect. So we save them before writing test bits and then restore them finally.
- Loading branch information