From 8bab587bd7c0718ae4b5922c4f1ea701daa0aade Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 28 Jun 2019 10:48:13 +0100 Subject: [PATCH] printf wrong args --- riscv/insns/mret.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2