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:
parent
1e84bcedc9
commit
0652010b1c
9 changed files with 44 additions and 6 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue