aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-28 23:12:32 -0400
committerIan Moffett <ian@osmora.org>2024-06-28 23:12:32 -0400
commit45ab1dd925162659d59d65a95105120d9dc96978 (patch)
tree8054643780fefb3f8ed979ceff83c8cff83ccf50 /sys/include
parent1bc9042af8907260659f28e8941837213dd37a8b (diff)
kernel/amd64: Focus md_td_init() to fork MD code
Rename md_td_init() to md_fork() and change up what it does to keep things as simple as possible. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h
index c74bca5..684742a 100644
--- a/sys/include/sys/proc.h
+++ b/sys/include/sys/proc.h
@@ -52,7 +52,7 @@ struct proc {
};
struct proc *this_td(void);
-int md_td_init(struct proc *p, struct proc *parent, uintptr_t ip);
+int md_fork(struct proc *p, struct proc *parent, uintptr_t ip);
int fork1(struct proc *cur, int flags, void(*ip)(void), struct proc **newprocp);
#endif /* _KERNEL */