Date: Wed, 11 Mar 1998 03:13:10 +0100 From: Eivind Eklund <eivind@yes.no> To: hackers@FreeBSD.ORG Cc: mike@smith.org.au Subject: Re: userconfig data -> linker set -> ELF segment Message-ID: <19980311031310.30458@follo.net>
next in thread | raw e-mail | index | archive | help
[Mike - I took the freedom of moving this to -hackers. Hope you don't mind.] Mike Smith wrote: > Eivind Eklund wrote > > Mike Smith wrote: > > > Why not generate the list at config time? Use sys/conf/userconfig, > > > sys/i386/conf/userconfig.i386 and sys/xxxxx/conf/userconfig.xxxxx and > > > generate a static array. > > > > That's possible, but I dislike adding more source meta files than > > strictly necessary. However, if we're going to go for the userland > > userconfig, this is probably the way it'll have to be. > > Bear in mind that the userland userconfig will only be working with ELF > kernels. If you can reliably stuff all the userconfig-like data into a > given not-normally-loaded segment at that point in time, then parking > it in the driver source itself is going to work just fine. So, can anybody tell me if I could do this? I was basically planning to look at distributing the userconfig device list as a linker set, to allow externally developed drivers to be added without having to edit a static list. I know how to do this now, but how easy is it to put it in a non-loaded segment later? Eivind. 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?19980311031310.30458>