> 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
 18:11:07  up   7:47,  2 users,  load average: 0.44, 0.58, 0.55
This commit is contained in:
tracer-ysyx 2024-03-13 18:11:07 +08:00 committed by xinyangli
parent 7d10fc3552
commit cc2dffeac7

View file

@ -52,7 +52,7 @@ static void out_of_bound(paddr_t addr) {
static void mtrace_print(char type, word_t addr, int len, word_t data) {
for (int i = 0; i < range_count; i++)
if (addr <= mtrace_end[i] && addr >= mtrace_start[i] ) {
Trace("Mem %c " FMT_PADDR "%d D " FMT_PADDR "\n", type, addr, len, data);
Trace("Mem %c " FMT_PADDR "%d D " FMT_PADDR, type, addr, len, data);
break;
}
}