From: Luke Kenneth Casson Leighton Date: Fri, 28 Jun 2019 09:48:13 +0000 (+0100) Subject: printf wrong args X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bab587bd7c0718ae4b5922c4f1ea701daa0aade;p=riscv-isa-sim.git printf wrong args --- diff --git a/riscv/insns/mret.h b/riscv/insns/mret.h index da60b16..521ede1 100644 --- 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);