提交 39d37953 编写于 作者: Z ZhangZifei

CSR: fix bug: init value of misa: add d&f

上级 98701fe9
......@@ -23,9 +23,7 @@ void init_isa(void) {
#define ext(e) (1 << ((e) - 'a'))
misa->extensions = ext('i') | ext('m') | ext('a') | ext('c') | ext('s') | ext('u');
#ifdef __DIFF_REF_QEMU__
misa->extensions |= ext('d') | ext('f');
#endif
misa->mxl = 2; // XLEN = 64
memcpy(guest_to_host(IMAGE_START), img, sizeof(img));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册