diff options
author | Zong Li <zongbox@gmail.com> | 2018-01-09 21:10:20 +0800 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2018-01-09 05:10:20 -0800 |
commit | 3740bc51b3e3b526f9cfd7ae3dba7810b05d833d (patch) | |
tree | d60c2fc473c130daf4fe7360434c09c603bd6be8 /machine/minit.c | |
parent | 0ff33906ff8fe4252613e5735ba6e886fd27d9c1 (diff) | |
download | pk-3740bc51b3e3b526f9cfd7ae3dba7810b05d833d.zip pk-3740bc51b3e3b526f9cfd7ae3dba7810b05d833d.tar.gz pk-3740bc51b3e3b526f9cfd7ae3dba7810b05d833d.tar.bz2 |
Remove the repeating bitmask of medeleg register (#74)
Diffstat (limited to 'machine/minit.c')
-rw-r--r-- | machine/minit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/machine/minit.c b/machine/minit.c index ee83f98..47433d1 100644 --- a/machine/minit.c +++ b/machine/minit.c @@ -49,7 +49,6 @@ static void delegate_traps() (1U << CAUSE_BREAKPOINT) | (1U << CAUSE_LOAD_PAGE_FAULT) | (1U << CAUSE_STORE_PAGE_FAULT) | - (1U << CAUSE_BREAKPOINT) | (1U << CAUSE_USER_ECALL); write_csr(mideleg, interrupts); |