El 05/02/2006, a las 17:06, Manuel Bouyer escribió:
On Sun, Feb 05, 2006 at 03:39:20PM +0000, Julio M. Merino Vidal wrote:Module Name: src Committed By: jmmv Date: Sun Feb 5 15:39:20 UTC 2006 Modified Files: src/sys/arch/i386/conf: XEN0 Log Message:Enable Multiboot support by default since this kernel is the one to most likely benefit from this feature. Per anonymous suggestion in my blog.Hum. Does it really work ? From what I understood of multiboot, it containsboth a way to pass environnement such as memory maps, and command linevariables. The environnement is different and is not passed using multibootI think, and command line variables are already handled properly.
Which "environment"? If you mean all the bootinfo stuff, that's the whole point of the code I added. It takes the information passed in by the Multiboot information structure (the one that contains the memory map, the command line, etc.9 and converts it to native bootinfo data so the NetBSD kernel behaves as expected. Take a look at arch/i386/i386/multiboot.c (specially, the setup_* functions). It works fine (except for a possible problem with LKMs, something that has just been reported to me). Cheers, -- Julio M. Merino Vidal <jmmv84%gmail.com@localhost> The Julipedia - http://julipedia.blogspot.com/