Module Name: src Committed By: martin Date: Fri Mar 10 09:08:47 UTC 2017
Modified Files: src/share/man/man9: Makefile cpu_lwp_fork.9 Log Message: PR misc/52058: replace all proc_trampoline with lwp_trampoline belatedly. To generate a diff of this commit: cvs rdiff -u -r1.402 -r1.403 src/share/man/man9/Makefile cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/cpu_lwp_fork.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/Makefile diff -u src/share/man/man9/Makefile:1.402 src/share/man/man9/Makefile:1.403 --- src/share/man/man9/Makefile:1.402 Wed Feb 22 09:20:39 2017 +++ src/share/man/man9/Makefile Fri Mar 10 09:08:47 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.402 2017/02/22 09:20:39 msaitoh Exp $ +# $NetBSD: Makefile,v 1.403 2017/03/10 09:08:47 martin Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -258,7 +258,7 @@ MLINKS+=copy.9 copyin.9 copy.9 copyout.9 copy.9 ioctl_copyin.9 copy.9 ioctl_copyout.9 MLINKS+=cpu_dumpconf.9 cpu_dump.9 cpu_dumpconf.9 cpu_dumpsize.9 \ cpu_dumpconf.9 dumpsys.9 -MLINKS+=cpu_lwp_fork.9 child_return.9 cpu_lwp_fork.9 proc_trampoline.9 +MLINKS+=cpu_lwp_fork.9 child_return.9 cpu_lwp_fork.9 lwp_trampoline.9 MLINKS+=cpu_rootconf.9 setroot.9 \ cpu_rootconf.9 rootconf.9 MLINKS+=cpufreq.9 cpufreq_register.9 \ Index: src/share/man/man9/cpu_lwp_fork.9 diff -u src/share/man/man9/cpu_lwp_fork.9:1.4 src/share/man/man9/cpu_lwp_fork.9:1.5 --- src/share/man/man9/cpu_lwp_fork.9:1.4 Tue Apr 13 05:41:53 2010 +++ src/share/man/man9/cpu_lwp_fork.9 Fri Mar 10 09:08:47 2017 @@ -1,4 +1,4 @@ -.\" $NetBSD: cpu_lwp_fork.9,v 1.4 2010/04/13 05:41:53 jruoho Exp $ +.\" $NetBSD: cpu_lwp_fork.9,v 1.5 2017/03/10 09:08:47 martin Exp $ .\" .\" Copyright (c) 2002, 2005, 2006 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -33,7 +33,7 @@ .Sh NAME .Nm cpu_lwp_fork , .Nm child_return , -.Nm proc_trampoline +.Nm lwp_trampoline .Nd finish a fork operation .Sh SYNOPSIS .In sys/proc.h @@ -55,8 +55,8 @@ making the child ready to run. .Pp .Fn cpu_lwp_fork rigs the child's kernel stack so that it will start in -.Fn proc_trampoline . -.Fn proc_trampoline +.Fn lwp_trampoline . +.Fn lwp_trampoline does not have a normal calling sequence and is entered by .Fn cpu_switch . If an alternate user-level stack is requested (with non-zero values @@ -69,7 +69,7 @@ arguments), the user stack pointer is se After being entered by .Fn cpu_switch and while running in user context (within the kernel) -.Fn proc_trampoline +.Fn lwp_trampoline will invoke the function .Fa func with the argument