Skip to content

Commit

Permalink
Fix #17 (#18)
Browse files Browse the repository at this point in the history
Don't make assumptions about delegatability in medeleg.
  • Loading branch information
pdonahue-ventana authored Feb 24, 2020
1 parent e0339fc commit 1a1daea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions p/riscv_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ reset_vector: \
(1 << CAUSE_USER_ECALL) | \
(1 << CAUSE_BREAKPOINT); \
csrw medeleg, t0; \
csrr t1, medeleg; \
bne t0, t1, other_exception; \
1: csrwi mstatus, 0; \
init; \
EXTRA_INIT; \
Expand Down

0 comments on commit 1a1daea

Please sign in to comment.