> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 1 12:35:11 UTC 2024 x86_64 GNU/Linux 16:02:50 up 5:38, 2 users, load average: 0.90, 0.50, 0.38
This commit is contained in:
parent
0f6bc5ab08
commit
bdd1069c6e
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ void cpu_exec(uint64_t n) {
|
||||||
nemu_state.halt_ret = 1;
|
nemu_state.halt_ret = 1;
|
||||||
#ifdef CONFIG_ITRACE
|
#ifdef CONFIG_ITRACE
|
||||||
if (nemu_state.halt_ret != 0) {
|
if (nemu_state.halt_ret != 0) {
|
||||||
|
puts("ITRACE buffer:");
|
||||||
for (int i = (logbuf_rear + 1) % CONFIG_ITRACE_BUFFER; i != logbuf_rear; i = (i + 1) % CONFIG_ITRACE_BUFFER) {
|
for (int i = (logbuf_rear + 1) % CONFIG_ITRACE_BUFFER; i != logbuf_rear; i = (i + 1) % CONFIG_ITRACE_BUFFER) {
|
||||||
puts(logbuf[i]);
|
puts(logbuf[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue