From owner-freebsd-hackers Wed Apr 26 9: 5: 1 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id C290437BE5F; Wed, 26 Apr 2000 09:04:36 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p51-dn01kiryunisiki.gunma.ocn.ne.jp [211.0.245.52]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id BAA00102; Thu, 27 Apr 2000 01:04:18 +0900 (JST) Message-ID: <390713D9.28C779DF@newsguy.com> Date: Thu, 27 Apr 2000 01:05:45 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Alfred Perlstein Cc: Stephen Hocking , msmith@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Using the boot loader to set maximum memory size? References: <200004261528.XAA12560@bloop.craftncomp.com> <20000426092607.L9754@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein 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. Patches for both /boot/help and loader.8 are accepted, of course. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org dcs@there.is.no.such.thing.as.a.bsdconspiracy.net GPL certainly doesn't meet Janis Joplin's definition of freedom: "Freedom is just another word for nothing left to lose." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message