> 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:07:05 up 7:43, 2 users, load average: 0.87, 0.69, 0.58
This commit is contained in:
parent
40b3e285af
commit
ff3ebb9ac2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
static void mtrace_print(char type, word_t addr, int len, word_t data) {
|
||||||
for (int i = 0; i < range_count; i++)
|
for (int i = 0; i < range_count; i++)
|
||||||
if (addr <= mtrace_end[i] && addr >= mtrace_start[i] ) {
|
if (addr <= mtrace_end[i] && addr >= mtrace_start[i] ) {
|
||||||
printf("[TRACE] Mem %c " FMT_WORD "%d D " FMT_WORD "\n", type, addr, len, data);
|
printf("[TRACE] Mem %c " FMT_PADDR "%d D " FMT_PADDR "\n", type, addr, len, data);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue