> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 21:34:23 up 6 days, 16:39,  1 user,  load average: 0.58, 0.70, 0.66
This commit is contained in:
tracer-ics2023
2024-09-23 21:34:25 +08:00
committed by zzy
parent 52d9f85010
commit 1b498cad78

View File

@ -3,7 +3,7 @@
void do_syscall(Context *c);
static Context* do_event(Event e, Context* c) {
switch (e.event) {
case EVENT_YIELD: printf("EVENT_YIELD\n"); break;
case EVENT_YIELD: Log("EVENT_YIELD\n"); break;
case EVENT_SYSCALL: do_syscall(c); break;
default: panic("Unhandled event ID = %d", e.event);
}