From owner-freebsd-hackers Sun Jan 16 13:42:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (Postfix) with ESMTP id D079E14E46 for ; Sun, 16 Jan 2000 13:42:53 -0800 (PST) (envelope-from aron@cs.rice.edu) Received: (from aron@localhost) by cs.rice.edu (8.9.0/8.9.0) id PAA24290; Sun, 16 Jan 2000 15:42:41 -0600 (CST) From: Mohit Aron Message-Id: <200001162142.PAA24290@cs.rice.edu> Subject: Re: question regarding FreeBSD memory mgmt To: chris@calldei.com Date: Sun, 16 Jan 2000 15:42:39 -0600 (CST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <20000115002134.A43216@holly.calldei.com> from "Chris Costello" at Jan 15, 2000 12:21:34 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, thanks for telling me about this. I don't care if it isn't there in 2.2.6, I managed to figure the code out in 3.x and add the appropriate code to 2.2.6 to do just what I wanted. - Mohit > STABLE (3.x) has a memcontrol(8) program that can do just that. > I don't know off hand whether it can be ported back to 2.2.6, but > it's worth a try. > > > From the memcontrol(8) man page: > > set Set memory range attributes. > > -b base > Memory range base address > > -l length > Length of memory range in bytes, power of 2 > > -o owner > Text identifier for this setting (7 char max) > > attribute > Attributes applied to this range; one of uncacheable, > write-combine, write-through, write-back, write-protect > > -- > |Chris Costello > |Programmer: One who is too lacking in people skills > | to be a software engineer. > `--------------------------------------------------- > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message