From owner-cvs-all Fri Dec 21 13:41: 0 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 F205D37B405; Fri, 21 Dec 2001 13:40:55 -0800 (PST) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBLLetl77179; Fri, 21 Dec 2001 13:40:55 -0800 (PST) (envelope-from tmm) Message-Id: <200112212140.fBLLetl77179@freefall.freebsd.org> From: Thomas Moestl <tmm@FreeBSD.org> Date: Fri, 21 Dec 2001 13:40:55 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys rman.h src/sys/kern subr_rman.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: <cvs-all.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20cvs-all> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20cvs-all> X-Loop: FreeBSD.ORG tmm 2001/12/21 13:40:55 PST Modified files: sys/sys rman.h sys/kern subr_rman.c Log: Add a rman_reserve_resource_bound() function that takes an additional argument specifying the boundary for the resource allocation. Use ulmin()/ulmax() instead of min()/max() in some places to correctly deal with the u_long resource range specifications. Revision Changes Path 1.23 +35 -11 src/sys/kern/subr_rman.c 1.17 +4 -1 src/sys/sys/rman.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message