Date: Fri, 04 Dec 1998 04:36:24 -0800 From: Mike Smith <mike@smith.net.au> To: Greg Lehey <grog@lemis.com> Cc: Mike Smith <mike@smith.net.au>, "Justin T. Gibbs" <gibbs@narnia.plutotech.com>, current@FreeBSD.ORG Subject: Re: KLD - what's the idea? Message-ID: <199812041236.EAA00655@dingo.cdrom.com> In-Reply-To: Your message of "Fri, 04 Dec 1998 15:19:11 %2B1030." <19981204151911.N441@freebie.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Wednesday, 2 December 1998 at 18:22:02 -0800, Mike Smith wrote: > >>> or to unload unused segments and > >>> reload them on the fly during further probe/attach requests (ala Linux). > >> > >> It would certainly be feasible to arrange for the firmware images to be > >> loaded from separate files, should that be an acceptable alternative. > >> I'm open to suggestions on how to make this economical and robust... > > > > I should probably have expanded here; I was thinking for some time > > about the usefulness of optionally having two modules associated with a > > driver; the core driver code and the 'init' module for the code. You'd > > normally put these into two separate files, so for 'foo' you'd > > have foo.ko and foo_init.ko. > > Isn't this something that could be more elegantly handled by different > sections in an ELF file? For paging, yes. For freeing and reloading, no; it would a level of finer granularity than the module, which is extra work and complexity that we don't really need. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812041236.EAA00655>