C userspace programs

This commit is contained in:
2025-09-04 23:20:30 +02:00
parent afa4d383e0
commit 90266f044b
51 changed files with 259 additions and 174 deletions

9
ulib/system/system.c Normal file
View File

@ -0,0 +1,9 @@
#include <stdint.h>
#include <system/system.h>
#include <syscall/syscall.h>
void sys_debugprint(const char *string) {
syscall(SYS_DEBUGPRINT, (uint64_t)string, 0, 0, 0, 0, 0);
}