From owner-cvs-all Fri Jan 19 20:14:45 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D9BCD37B698; Fri, 19 Jan 2001 20:14:25 -0800 (PST) Received: (from jake@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0K4EPN36494; Fri, 19 Jan 2001 20:14:25 -0800 (PST) (envelope-from jake) Message-Id: <200101200414.f0K4EPN36494@freefall.freebsd.org> From: Jake Burkholder Date: Fri, 19 Jan 2001 20:14:25 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 exception.s genassym.c src/sys/i386/include mutex.h src/sys/sys mutex.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jake 2001/01/19 20:14:25 PST Modified files: sys/i386/i386 exception.s genassym.c sys/i386/include mutex.h sys/sys mutex.h Log: Simplify the i386 asm MTX_{ENTER,EXIT} macros to just call the appropriate function, rather than doing a horse-and-buggy acquire. They now take the mutex type as an arg and can be used with sleep as well as spin mutexes. Revision Changes Path 1.78 +3 -3 src/sys/i386/i386/exception.s 1.99 +1 -8 src/sys/i386/i386/genassym.c 1.25 +17 -103 src/sys/i386/include/mutex.h 1.18 +3 -2 src/sys/sys/mutex.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message