Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2000 09:26:08 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Stephen Hocking <shocking@prth.pgs.com>
Cc:        msmith@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: Using the boot loader to set maximum memory size?
Message-ID:  <20000426092607.L9754@fw.wintelcom.net>
In-Reply-To: <200004261528.XAA12560@bloop.craftncomp.com>; from shocking@prth.pgs.com on Wed, Apr 26, 2000 at 11:28:48PM %2B0800
References:  <200004261528.XAA12560@bloop.craftncomp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Stephen Hocking <shocking@prth.pgs.com> [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.

-- 
-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000426092607.L9754>