From owner-cvs-all Fri Nov 15 22:38:36 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F11B837B401; Fri, 15 Nov 2002 22:38:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A305E43E77; Fri, 15 Nov 2002 22:38:34 -0800 (PST) (envelope-from deischen@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gAG6ZrmV094875; Fri, 15 Nov 2002 22:35:53 -0800 (PST) (envelope-from deischen@repoman.freebsd.org) Received: (from deischen@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gAG6ZrLY094874; Fri, 15 Nov 2002 22:35:53 -0800 (PST) Message-Id: <200211160635.gAG6ZrLY094874@repoman.freebsd.org> From: Daniel Eischen Date: Fri, 15 Nov 2002 22:35:53 -0800 (PST) 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 ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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