We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bd02c8 commit 36b18c8Copy full SHA for 36b18c8
isa/rv64mi/breakpoint.S
@@ -26,6 +26,9 @@ RVTEST_CODE_BEGIN
26
1:
27
csrw mtvec, a0
28
29
+ # Enable interrupts; see https://github.com/riscv/riscv-debug-spec/blob/f510a7dd33317d0eee0f26b4fa082cd43a5ac7ea/Sdtrig.tex#L213-L214
30
+ csrsi mstatus, MSTATUS_MIE
31
+
32
# Skip tselect if hard-wired.
33
csrw tselect, x0
34
csrr a1, tselect
0 commit comments