Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: riscv: Disable traps by clearing XIE CSR
Ensure we disable traps by clearing XIE CSR instead of clearing XSTATUS.IE which is global interrupt enable bit. Signed-off-by: Alvin Chang <[email protected]>
- Loading branch information
17802aa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Yu Chien Peter Lin <[email protected]>