Date: Fri, 02 Jul 1999 06:40:28 +0800 From: Peter Wemm <peter@netplex.com.au> To: Mike Smith <mike@smith.net.au> Cc: Andrew Gallatin <gallatin@cs.duke.edu>, hackers@freebsd.org Subject: Re: npx0 to set maxmem broken in -current? Message-ID: <19990701224028.B9D8679@overcee.netplex.com.au> In-Reply-To: Your message of "Thu, 01 Jul 1999 15:14:39 MST." <199907012214.PAA01520@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote: > > Personally, I think we should use a kernel environment variable passed in > > from loader, since kern_envp is available *real early*, from the very > > beginning of init386(), which is called form locore just after going > > virtual. It needs a couple of tweaks to get this to work, and in > > particular, the environment variable will have to override the VM86 > > calls. > > It shouldn't "override it", rather it should simply lower the current > 4GB cap to whatever it's set to. This allows the BIOS sensing code to > correctly walk around holes, etc. Also, bear in mind the fun we had with BIOS reporting 15MB of ram and the like.. Capping is fine, so long as there's some way of forcing it to a given value if needed. Never assume BIOS writers are *always* competent. :-) Cheers, -Peter 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?19990701224028.B9D8679>