-/* $OpenBSD: vm_machdep.c,v 1.52 2023/10/24 13:20:09 claudio Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.53 2024/05/21 23:16:06 jsg Exp $ */
/* $NetBSD: vm_machdep.c,v 1.55 2000/03/29 03:49:48 simonb Exp $ */
/*
/*
* Deactivate the exiting address space before the vmspace
* is freed. Note that we will continue to run on this
- * vmspace's context until the switch to idle in switch_exit().
+ * vmspace's context until the switch to idle in sched_exit().
*/
pmap_deactivate(p);
sched_exit(p);
-/* $OpenBSD: cpu.h,v 1.73 2024/03/31 07:23:29 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.74 2024/05/21 23:16:06 jsg Exp $ */
/* $NetBSD: cpu.h,v 1.45 2000/08/21 02:03:12 thorpej Exp $ */
/*-
void regdump(struct trapframe *);
void regtoframe(struct reg *, struct trapframe *);
void savectx(struct pcb *);
-void switch_exit(struct proc *); /* MAGIC */
void syscall(u_int64_t, struct trapframe *);
void trap(unsigned long, unsigned long, unsigned long, unsigned long,
struct trapframe *);
-/* $OpenBSD: cpu.h,v 1.169 2024/05/12 16:49:38 guenther Exp $ */
+/* $OpenBSD: cpu.h,v 1.170 2024/05/21 23:16:06 jsg Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
struct pcb;
void savectx(struct pcb *);
-void switch_exit(struct proc *, void (*)(struct proc *));
void proc_trampoline(void);
/* clock.c */
-/* $OpenBSD: cpu.h,v 1.188 2024/05/01 12:54:27 mpi Exp $ */
+/* $OpenBSD: cpu.h,v 1.189 2024/05/21 23:16:06 jsg Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
struct pcb;
void savectx(struct pcb *);
-void switch_exit(struct proc *);
void proc_trampoline(void);
/* clock.c */
-/* $OpenBSD: vm_machdep.c,v 1.28 2023/04/11 00:45:07 jsg Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.29 2024/05/21 23:16:06 jsg Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
#include <machine/trap.h>
extern void savectx(struct pcb *);
-extern void switch_exit(struct proc *);
/*
* Finish a fork operation, with process p2 nearly set up.