Subject: Re: Boot properties, take 3
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 06/19/2007 16:45:30
On Tue, Jun 19, 2007 at 07:04:02AM -0400, Jared D. McNeill wrote:
> Heyas --
> 
> Here's the latest version of the bootprops code:
> 
> 	http://www.invisible.ca/~jmcneill/netbsd/bootprops3.patch
> 
> With this version, the bootloader now understands how to parse (and  
> can easily be extended to modify) the boot property list. My plan is  
> to allow the bootloader to change properties on the fly in the next  
> version. Also, since the bootloader can update the plist loaded from  
> disk, it can now pass bootinfo via the properties structure rather  
> than btinfo_*.
> 
> Userconf has also been better taught how to use boot properties; when  
> a device is enabled or disabled, the boot properties are updated with  
> this change. To save the current state, you can read the  
> kern.bootprops sysctl and dump the contents to the saved state file / 
> netbsd.plist
> 
> Comments on anything other than the colour of paint are welcome.

This looks very good. Thanks !

With this we should probably be able to drop i386 GENERIC_NOACPI.
If we can also set some sysctl values from boot/userconf, we should also
be able to drop GENERIC_LAPTOP and INSTALL_LAPTOP !

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--