kernel: Various changes

+ elf: Prevent dynamically linked programs from running on Soaplin.
+ sched: Support creating a process from a program_t structure.
+ syscall: Fix a bug where using syscall number 1024 would crash the OS.
+ syscall: Added a write syscall. It can only be used for writing to the standard output (FD: 1)
This commit is contained in:
RaphProductions 2025-05-17 01:26:38 +02:00
parent 1e84bcedc9
commit 0652010b1c
9 changed files with 44 additions and 6 deletions

View file

@ -131,7 +131,7 @@ void __kmain(void) {
sched_process *proc =
sched_create("Test", p->entry, p->pm, SCHED_USER_PROCESS);
sched_from_program(p);
log("kernel - Soaplin initialized sucessfully.\n");