From 50858d043cbd6f61cc091c6772f981ca2d6cca6b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 00:39:24 +0200 Subject: Added basic exec calls for init and started libc --- src/kernel/tasks/process.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/kernel/tasks/process.h') diff --git a/src/kernel/tasks/process.h b/src/kernel/tasks/process.h index 1a5c607..5230ea4 100644 --- a/src/kernel/tasks/process.h +++ b/src/kernel/tasks/process.h @@ -54,6 +54,10 @@ void process_init(struct process *proc); struct process *process_make_new(); +uint32_t kexec(char *path); + +uint32_t uexec(char *path); + extern struct process *current_proc; extern uint32_t stack_hold; @@ -70,4 +74,4 @@ extern uint32_t stack_hold; #define WAIT_ERROR (-1) #define WAIT_OKAY 0 -#endif \ No newline at end of file +#endif -- cgit v1.2.3