From 45ab1dd925162659d59d65a95105120d9dc96978 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 28 Jun 2024 23:12:32 -0400 Subject: 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 --- sys/include/sys/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/include') 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 */ -- cgit v1.2.3