> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 22:27:43 up 4 days, 17:33, 1 user, load average: 0.97, 0.56, 0.54
This commit is contained in:
@ -33,7 +33,7 @@ enum {
|
||||
};
|
||||
|
||||
static inline int check_cpr_idx(int idx) {
|
||||
IFDEF(CONFIG_RT_CHECK, assert(idx == MCAUSE || idx == MEPC || idx == MTVEC));
|
||||
IFDEF(CONFIG_RT_CHECK, assert(idx >= 0x300 && idx < 0x400));
|
||||
return idx;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user