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 majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message