Date: Sat, 15 Jan 2000 00:21:34 -0600 From: Chris Costello <chris@calldei.com> To: Mohit Aron <aron@cs.rice.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: question regarding FreeBSD memory mgmt Message-ID: <20000115002134.A43216@holly.calldei.com> In-Reply-To: <200001150549.XAA01526@cs.rice.edu> References: <200001150549.XAA01526@cs.rice.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 14, 2000, Mohit Aron wrote: > Hi, > is it possible from within FreeBSD to set a range of physical/virtual > addresses to be uncacheable ? I'm using FreeBSD-2.2.6 and I'd appreciate if > someone can tell me functions/instructions on how to make certain memory > ranges to be uncachable on a Pentium III. 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 <chris@calldei.com> |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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000115002134.A43216>