diff options
author | Paul Donahue <48959409+pdonahue-ventana@users.noreply.github.com> | 2020-02-24 11:52:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 13:52:57 -0600 |
commit | 1a1daea901d00afcc7e9bf04d710a360f487973f (patch) | |
tree | b1bf0f5786f227c46a86fe0e78b6c676bdc31462 | |
parent | e0339fc0775e0e8d478462ce3ed055ccde33f76a (diff) | |
download | env-1a1daea901d00afcc7e9bf04d710a360f487973f.zip env-1a1daea901d00afcc7e9bf04d710a360f487973f.tar.gz env-1a1daea901d00afcc7e9bf04d710a360f487973f.tar.bz2 |
Fix #17 (#18)
Don't make assumptions about delegatability in medeleg.
-rw-r--r-- | p/riscv_test.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/p/riscv_test.h b/p/riscv_test.h index bb7ced6..0941172 100644 --- a/p/riscv_test.h +++ b/p/riscv_test.h @@ -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; \ |