aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/process.h
diff options
context:
space:
mode:
authorMarvin Borner2020-04-29 00:39:24 +0200
committerMarvin Borner2020-04-29 00:39:24 +0200
commit50858d043cbd6f61cc091c6772f981ca2d6cca6b (patch)
tree82afcc2daf9c4b67d29832923283654913490d06 /src/kernel/tasks/process.h
parent34c752f6fe4f71169172f1b3e46b1eddf69eba6e (diff)
Added basic exec calls for init and started libc
Diffstat (limited to 'src/kernel/tasks/process.h')
-rw-r--r--src/kernel/tasks/process.h6
1 files changed, 5 insertions, 1 deletions
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