projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e993993
)
printf wrong args
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 28 Jun 2019 09:48:13 +0000
(10:48 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 28 Jun 2019 09:48:13 +0000
(10:48 +0100)
riscv/insns/mret.h
patch
|
blob
|
history
diff --git
a/riscv/insns/mret.h
b/riscv/insns/mret.h
index da60b16fa7751d0efd7eae881e066180b0763075..521ede14483d509d476cacf428fbec3edfb9ce83 100644
(file)
--- a/
riscv/insns/mret.h
+++ b/
riscv/insns/mret.h
@@
-9,4
+9,4
@@
s = set_field(s, MSTATUS_MPP, PRV_U);
p->set_privilege(prev_prv);
p->set_csr(CSR_MSTATUS, s);
fprintf(stderr, "CSR SVSTATE: %x\n", svstate);
-p->set_csr(CSR_SV_STATE, svstate);
+
//
p->set_csr(CSR_SV_STATE, svstate);