From owner-cvs-all@FreeBSD.ORG Tue Dec 30 20:12:58 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 CF95416A4CE; Tue, 30 Dec 2003 20:12:58 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F90F43D2F; Tue, 30 Dec 2003 20:12:58 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBV4Cv0B052738; Tue, 30 Dec 2003 20:12:57 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBV4CvZQ052737; Tue, 30 Dec 2003 20:12:57 -0800 (PST) (envelope-from wpaul) Message-Id: <200312310412.hBV4CvZQ052737@repoman.freebsd.org> From: Bill Paul Date: Tue, 30 Dec 2003 20:12:57 -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/compat/ndis subr_ntoskrnl.c src/sys/dev/if_ndis if_ndis.c 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: Wed, 31 Dec 2003 04:12:59 -0000 wpaul 2003/12/30 20:12:57 PST FreeBSD src repository Modified files: sys/compat/ndis subr_ntoskrnl.c sys/dev/if_ndis if_ndis.c Log: - subr_ntoskrnl.c: improve the _fastcall hack based on suggestions from peter and jhb: use __volatile__ to prevent gcc from possibly reordering code, use a null inline instruction instead of a no-op movl (I would have done this myself if I knew it was allowed) and combine two register assignments into a single asm statement. - if_ndis.c: set the NDIS_STATUS_PENDING flag on all outgoing packets in ndis_start(), make the resource allocation code a little smarter about how it selects the altmem range, correct a lock order reversal in ndis_tick(). Revision Changes Path 1.5 +4 -7 src/sys/compat/ndis/subr_ntoskrnl.c 1.18 +19 -16 src/sys/dev/if_ndis/if_ndis.c