aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-08-15 14:21:52 +0200
committerMarvin Borner2020-08-15 14:21:52 +0200
commit32b8722128dfb4ca9e814940a23c2b22a283bb12 (patch)
tree80c881a7717dc129fd11baaf98cd8b226fd30c67 /kernel/inc
parent162c84cfe6b4652bae213776944b910390553d41 (diff)
Added some syscall wrappers
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/load.h2
-rw-r--r--kernel/inc/proc.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/kernel/inc/load.h b/kernel/inc/load.h
index 863f04f..43c941c 100644
--- a/kernel/inc/load.h
+++ b/kernel/inc/load.h
@@ -58,7 +58,7 @@ struct elf_program_header {
u32 align;
};
-void bin_load(char *path, struct proc *proc);
+int bin_load(char *path, struct proc *proc);
void elf_load(char *path, struct proc *proc);
#endif
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index 39ba704..9f3816d 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -25,6 +25,7 @@ struct proc {
void proc_init();
void proc_print();
+void proc_exit();
struct proc *proc_make();
#endif