mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Add yield
This commit is contained in:
parent
b4f170b6b6
commit
47fd83ed4c
1 changed files with 2 additions and 0 deletions
|
|
@ -61,6 +61,8 @@ int main(int argc, char *argv[]) {
|
||||||
const char *str = uvm32_getcstr(&vmst, &evt, ARG0);
|
const char *str = uvm32_getcstr(&vmst, &evt, ARG0);
|
||||||
printf("%s\n", str);
|
printf("%s\n", str);
|
||||||
} break;
|
} break;
|
||||||
|
case UVM32_SYSCALL_YIELD:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
printf("Unhandled syscall 0x%08x\n", evt.data.syscall.code);
|
printf("Unhandled syscall 0x%08x\n", evt.data.syscall.code);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue