Subject: Re: Removig generic optstr_get
To: matthew green <mrg@eterna.com.au>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 10/25/2006 17:34:58
--ScUgq5oMe+fJq4F1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 25, 2006 at 09:51:54AM +1000, Daniel Carosone wrote:
> On Wed, Oct 25, 2006 at 01:36:25AM +0200, Quentin Garnier wrote:
> > On Wed, Oct 25, 2006 at 09:17:18AM +1000, matthew green wrote:
> > >   =20
> > >    > Is there a real need for this change? I would prefer leaving thi=
ngs as
> > >    > they are now.
> > >    >=20
> > >    > (We might want to support richer boot parameters with other boot=
 methods
> > >    > than Multiboot one day.)
> > >   =20
> > >    And proplib will still be there for that.
> > >=20
> > >=20
> > > you want me to type plists on the command line?
> >=20
> > Yes, please.  Thanks for volunteering.
>=20
> But more seriously, parsing a=3Db c=3Dd strings handed to us by random
> platform bootloader or environment strings *into* plists in memory,
> for consumption by MI or almost-MI configuration code, might be a good
> idea.

I don't think we have to support that.  If a bootloader cannot pass
anything else but that, save for grub which we already support, I don't
think it's worth our time.

What I'd find interesting from a boot loader would be to be able to pass
match information for drivers, select interrupt line for devices, and so
on.  None of this can be sanely formulated as a name=3Dvalue token.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--ScUgq5oMe+fJq4F1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iQEVAwUBRT+EItgoQloHrPnoAQL2uwgAuht/RK3oESN2GGeZMgHLYs8l3dUG1g6+
uuOGUZgIR5ZLflYStrsrQYW73TGgFbNd2JgEV4lBdvdz/Ek6ocwU1A/CR4nctzqg
Xdaff2pJC7Z37plx1ikkcZxDXTL7NJgJd0D4mZiOOhQ+gbpQxqZMVKxNAic51VMn
DS+aCHml9WnogkSMVOQx5PAGCdpcCZUywm/fBRl9uBg2f97qIJ7so7qJwPv42H/H
u6cyJwn36exX+sNUCp4o8oxXv2OpdfupTcEe6Dh84avj1BgKQ/eKfnJag/xxYoGQ
4K/mjIYFS5eeRSs/pDjohKQ8gvf8zAhkd5PpdKJ5BedLd4XyBHaI5Q==
=xa3c
-----END PGP SIGNATURE-----

--ScUgq5oMe+fJq4F1--