提交 04879960 编写于 作者: W wangkaifan

csr: add some forbidden CSRs manually

上级 28de64b1
......@@ -4,6 +4,8 @@
static inline bool csr_check(DecodeExecState *s, uint32_t addr) {
switch (addr) {
case 0xc01: // time
case 0x3b4:
case 0xb03:
raise_intr(s, EX_II, cpu.pc);
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册