> 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:13:43  up   5:49,  2 users,  load average: 0.57, 0.69, 0.56
This commit is contained in:
tracer-ysyx 2024-03-13 16:13:43 +08:00 committed by xinyangli
parent f1ade93f9a
commit 67a6ccdb6b

View file

@ -43,6 +43,7 @@ IFDEF(CONFIG_ITRACE, int logbuf_rear);
void log_itrace_print() {
puts("ITRACE buffer:");
for (int i = (logbuf_rear + 1) % CONFIG_ITRACE_BUFFER; i != logbuf_rear; i = (i + 1) % CONFIG_ITRACE_BUFFER) {
if (logbuf[i][0] == '\0') continue;
puts(logbuf[i]);
}
}