> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.75 #1-NixOS SMP PREEMPT_DYNAMIC Thu Jan 25 23:27:52 UTC 2024 x86_64 GNU/Linux
 19:28:36  up 1 day  5:04,  2 users,  load average: 1.29, 0.88, 0.79
This commit is contained in:
tracer-ysyx 2024-02-08 19:28:36 +08:00 committed by xinyangli
parent c4049dfa39
commit 66240f56d4

View file

@ -78,8 +78,10 @@ static void execute(uint64_t n) {
exec_once(&s, cpu.pc);
g_nr_guest_inst ++;
trace_and_difftest(&s, cpu.pc);
if (wp_eval_all()) break;
if (wp_eval_all()) {
puts(s.logbuf);
break;
}
if (nemu_state.state != NEMU_RUNNING) break;
IFDEF(CONFIG_DEVICE, device_update());
}