> 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:53:20 up 7 days, 6:50, 1 user, load average: 0.78, 0.91, 0.92
This commit is contained in:
@ -27,6 +27,7 @@ size_t events_read(void *buf, size_t offset, size_t len) {
|
||||
if (kb.keycode == AM_KEY_NONE) {
|
||||
return 0;
|
||||
}
|
||||
TRACE("key %s\n", keyname[kb.keycode]);
|
||||
return snprintf(buf, len, "%s %s\n", kb.keydown ? "kd" : "ku", keyname[kb.keycode]);
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ void do_syscall(Context *c) {
|
||||
a[2] = c->GPR3;
|
||||
a[3] = c->GPR4;
|
||||
|
||||
TRACE("syscall %d: %s", a[0], __syscall_names[a[0]]);
|
||||
// TRACE("syscall %d: %s", a[0], __syscall_names[a[0]]);
|
||||
switch (a[0]) {
|
||||
CASE(yield, yield())
|
||||
|
||||
|
Reference in New Issue
Block a user