kernel: add yield syscall

This commit is contained in:
Matheus
2026-03-08 14:47:18 -03:00
parent 1991751d17
commit 5b44d3557a
3 changed files with 32 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
#include <kernel/syscalls.h>
#include <kernel/scheduler.h>
syscallret_t syscall_yield(context_t *) {
syscallret_t ret = {0};
sched_yield();
return ret;
}