> 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:31:00 up 6 days, 16:36, 1 user, load average: 1.13, 0.69, 0.64
This commit is contained in:
@ -7,6 +7,7 @@ void do_syscall(Context *c) {
|
||||
a[2] = c->GPR3;
|
||||
a[3] = c->GPR4;
|
||||
|
||||
Log("syscall %d: %s\n", a[0], __syscall_names[a[0]]);
|
||||
switch (a[0]) {
|
||||
case SYS_yield: yield();
|
||||
case SYS_exit: halt(0);
|
||||
|
Reference in New Issue
Block a user