summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/proc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h
index c561e91..d252ab7 100644
--- a/sys/include/sys/proc.h
+++ b/sys/include/sys/proc.h
@@ -76,7 +76,8 @@ struct proc {
#define PROC_EXEC BIT(1) /* Exec called (cleared by sched) */
struct proc *this_td(void);
-int md_fork(struct proc *p, struct proc *parent, uintptr_t ip);
+int md_spawn(struct proc *p, struct proc *parent, uintptr_t ip);
+int spawn(struct proc *cur, int flags, void(*ip)(void), struct proc **newprocp);
void md_td_stackinit(struct proc *td, void *stack_top, struct exec_prog *prog);
__dead void md_td_kick(struct proc *td);