From owner-cvs-src@FreeBSD.ORG Wed Feb 16 18:18:31 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12D2516A4CE; Wed, 16 Feb 2005 18:18:31 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECBE843D39; Wed, 16 Feb 2005 18:18:30 +0000 (GMT) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1GIIUuF034331; Wed, 16 Feb 2005 18:18:30 GMT (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1GIIUZ1034330; Wed, 16 Feb 2005 18:18:30 GMT (envelope-from wpaul) Message-Id: <200502161818.j1GIIUZ1034330@repoman.freebsd.org> From: Bill Paul Date: Wed, 16 Feb 2005 18:18:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis ntoskrnl_var.h subr_ntoskrnl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 18:18:31 -0000 wpaul 2005-02-16 18:18:30 UTC FreeBSD src repository Modified files: sys/compat/ndis ntoskrnl_var.h subr_ntoskrnl.c Log: KeAcquireSpinLockRaiseToDpc() and KeReleaseSpinLock() are (at least for now) exactly the same as KfAcquireSpinLock() and KfReleaseSpinLock(). I implemented the former as small routines in subr_ntoskrnl.c that just turned around and invoked the latter. But I don't really need the wrapper routines: I can just create an entries in the ntoskrnl func table that map KeAcquireSpinLockRaiseToDpc() and KeReleaseSpinLock() to KfAcquireSpinLock() and KfReleaseSpinLock() directly. This means the stubs can go away. Revision Changes Path 1.24 +2 -3 src/sys/compat/ndis/ntoskrnl_var.h 1.51 +3 -24 src/sys/compat/ndis/subr_ntoskrnl.c