PatchworkOS
Loading...
Searching...
No Matches
loader.h File Reference
#include <kernel/sched/thread.h>
#include <stdarg.h>

Go to the source code of this file.

Functions

NORETURN void loader_jump_to_user_space (thread_t *thread)
 Performs the initial jump to userspace.
 
thread_tloader_spawn (const char **argv, priority_t priority, const path_t *cwd)
 Spawns a child process from an executable file.
 
thread_tloader_thread_create (process_t *parent, void *entry, void *arg)
 Creates a new thread within an existing process.