> compile NEMU
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Has been cancelled
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Has been cancelled
ysyx_22040000 李心杨 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 1 12:35:11 UTC 2024 x86_64 GNU/Linux 12:42:10 up 22:17, 2 users, load average: 1.05, 0.49, 0.58
This commit is contained in:
parent
931fece0b0
commit
8a24c518eb
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ static void exec_once(Decode *s, vaddr_t pc) {
|
||||||
#ifdef CONFIG_ITRACE
|
#ifdef CONFIG_ITRACE
|
||||||
logbuf_rear = (logbuf_rear + 1) % CONFIG_ITRACE_BUFFER;
|
logbuf_rear = (logbuf_rear + 1) % CONFIG_ITRACE_BUFFER;
|
||||||
char *p = logbuf[logbuf_rear];
|
char *p = logbuf[logbuf_rear];
|
||||||
p += snprintf(p, sizeof(logbuf), FMT_WORD ":", s->pc);
|
p += snprintf(p, sizeof(logbuf[logbuf_rear]), FMT_WORD ":", s->pc);
|
||||||
int ilen = s->snpc - s->pc;
|
int ilen = s->snpc - s->pc;
|
||||||
int i;
|
int i;
|
||||||
uint8_t *inst = (uint8_t *)&s->isa.inst.val;
|
uint8_t *inst = (uint8_t *)&s->isa.inst.val;
|
||||||
|
|
Loading…
Reference in a new issue