Date: Fri, 15 Nov 2002 22:35:53 -0800 (PST) From: Daniel Eischen <deischen@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/alpha/include cpu.h fpu.h signal.h ucontext.h src/sys/conf files src/sys/i386/i386 machdep.c src/sys/i386/include signal.h ucontext.h src/sys/i386/isa npx.c src/sys/ia64/ia64 machdep.c ... Message-ID: <200211160635.gAG6ZrLY094874@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
deischen 2002/11/15 22:35:53 PST Modified files: sys/alpha/alpha machdep.c sys/alpha/include cpu.h fpu.h signal.h ucontext.h sys/conf files sys/i386/i386 machdep.c sys/i386/include signal.h ucontext.h sys/i386/isa npx.c sys/ia64/ia64 machdep.c sys/kern syscalls.master sys/powerpc/powerpc machdep.c sys/sparc64/sparc64 machdep.c sys/sys ucontext.h Added files: sys/kern kern_context.c Log: Add getcontext, setcontext, and swapcontext as system calls. Previously these were libc functions but were requested to be made into system calls for atomicity and to coalesce what might be two entrances into the kernel (signal mask setting and floating point trap) into one. A few style nits and comments from bde are also included. Tested on alpha by: gallatin Revision Changes Path 1.192 +134 -9 src/sys/alpha/alpha/machdep.c 1.34 +4 -4 src/sys/alpha/include/cpu.h 1.6 +2 -4 src/sys/alpha/include/fpu.h 1.11 +3 -4 src/sys/alpha/include/signal.h 1.6 +6 -3 src/sys/alpha/include/ucontext.h 1.736 +1 -0 src/sys/conf/files 1.550 +2 -1 src/sys/i386/i386/machdep.c 1.19 +2 -2 src/sys/i386/include/signal.h 1.9 +3 -10 src/sys/i386/include/ucontext.h 1.136 +2 -2 src/sys/i386/isa/npx.c 1.122 +14 -0 src/sys/ia64/ia64/machdep.c 1.1 +134 -0 src/sys/kern/kern_context.c (new) 1.137 +4 -0 src/sys/kern/syscalls.master 1.44 +14 -0 src/sys/powerpc/powerpc/machdep.c 1.73 +14 -0 src/sys/sparc64/sparc64/machdep.c 1.9 +8 -0 src/sys/sys/ucontext.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211160635.gAG6ZrLY094874>