From owner-freebsd-hackers Wed Apr 26 10:22:45 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 398CE37B8BE; Wed, 26 Apr 2000 10:22:42 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e3QHq2K24657; Wed, 26 Apr 2000 10:52:02 -0700 (PDT) Date: Wed, 26 Apr 2000 10:52:02 -0700 From: Alfred Perlstein To: Mike Smith Cc: Stephen Hocking , hackers@FreeBSD.ORG Subject: Re: Using the boot loader to set maximum memory size? Message-ID: <20000426105201.M9754@fw.wintelcom.net> References: <20000426092607.L9754@fw.wintelcom.net> <200004261708.KAA03066@mass.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200004261708.KAA03066@mass.cdrom.com>; from msmith@FreeBSD.ORG on Wed, Apr 26, 2000 at 10:08:01AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Mike Smith [000426 10:46] wrote: > > * Stephen Hocking [000426 09:23] wrote: > > > Is there any chance of extending the loader so that it can set the memory > > > size, rather than hard coding it into the kernel config file? This would be > > > quite useful for testing things which like a large amount of memory set aside > > > exclusively for hardware's use (I'm thinking of Utah-GLX's DMA buffers for > > > G400 cards here). > > > > Use the undocumented hw.physmem variable in the loader. > > There isn't an "undocumented hw.physmem" variable, there's only a > "documented hw.physmem" variable. Ah, it's in loader.help, but not the manpage, I'll patch it asap. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message