X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/69777bdcab284335651a8002e2896f3862fa423d..6f65553ca5d2740738f399d88b3a4eb298255427:/lunaix-os/kernel/process/process.c diff --git a/lunaix-os/kernel/process/process.c b/lunaix-os/kernel/process/process.c index cdaa12a..bb5008d 100644 --- a/lunaix-os/kernel/process/process.c +++ b/lunaix-os/kernel/process/process.c @@ -12,8 +12,8 @@ #include #include -#include -#include +#include +#include LOG_MODULE("PROC") @@ -64,7 +64,7 @@ spawn_process(struct thread** created, ptr_t entry, bool with_ustack) struct proc_mm* mm = vmspace(kproc); procvm_initvms_mount(mm); - + struct thread* kthread = create_thread(kproc, with_ustack); if (!kthread) { @@ -105,7 +105,7 @@ spawn_process_usr(struct thread** created, char* path, goto fail; } - struct exec_container container; + struct exec_host container; exec_init_container(&container, main_thread, VMS_MOUNT_1, argv, envp); if ((errno = exec_load_byname(&container, path))) { goto fail;