From owner-cvs-all@FreeBSD.ORG Mon Mar 31 16:18:56 2003 Return-Path: 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 BE29A37B401; Mon, 31 Mar 2003 16:18:56 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A30F43F85; Mon, 31 Mar 2003 16:18:56 -0800 (PST) (envelope-from jeff@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 h310Iu0U038410; Mon, 31 Mar 2003 16:18:56 -0800 (PST) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h310Iu68038409; Mon, 31 Mar 2003 16:18:56 -0800 (PST) Message-Id: <200304010018.h310Iu68038409@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 31 Mar 2003 16:18:56 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 support.s src/sys/ia64/ia64 machdep.c src/sys/pc98/i386 machdep.c src/sys/powerpc/powerpc machdep.c src/sys/sparc64/sparc64 machdep.c src/sys/sys systm.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 00:18:57 -0000 jeff 2003/03/31 16:18:56 PST FreeBSD src repository Modified files: sys/alpha/alpha machdep.c sys/i386/i386 support.s sys/ia64/ia64 machdep.c sys/pc98/i386 machdep.c sys/powerpc/powerpc machdep.c sys/sparc64/sparc64 machdep.c sys/sys systm.h Log: - Define a new md function 'casuptr'. This atomically compares and sets a pointer that is in user space. It will be used as the basic primitive for a kernel supported user space lock implementation. - Implement this function in x86's support.s - Provide stubs that return -1 in all other architectures. Implementations will follow along shortly. Reviewed by: jake Revision Changes Path 1.199 +6 -0 src/sys/alpha/alpha/machdep.c 1.94 +31 -0 src/sys/i386/i386/support.s 1.128 +7 -0 src/sys/ia64/ia64/machdep.c 1.312 +8 -0 src/sys/pc98/i386/machdep.c 1.51 +8 -0 src/sys/powerpc/powerpc/machdep.c 1.78 +7 -0 src/sys/sparc64/sparc64/machdep.c 1.192 +1 -0 src/sys/sys/systm.h