syscall: add lots of syscalls

This commit is contained in:
2026-02-19 19:21:50 +00:00
parent dbc7b8fc59
commit 1d4fd4f586
8 changed files with 1061 additions and 14 deletions

9
syscall/log.c Normal file
View File

@@ -0,0 +1,9 @@
#include <kernel/printk.h>
#include <kernel/sched.h>
kern_status_t sys_kern_log(const char *s)
{
struct task *task = current_task();
printk("%s: %s", task->t_name, s);
return KERN_OK;
}