Date: Wed, 14 Jun 2000 13:45:42 -0700 (PDT) From: Matthew Jacob <mjacob@feral.com> To: hackers@freebsd.org Subject: loading modules from within the kernel.... Message-ID: <Pine.BSF.4.05.10006141341060.4094-100000@semuta.feral.com>
next in thread | raw e-mail | index | archive | help
There seems to be a number of ways to approach this from within -current, so I thought I'd ask- While I'm configuring a PCI driver, I want to refer to another (possibly loadable) module- I can name it anything I want. It doesn't have any standard entry points- basically, it's a container for firmware for my card that I want to refer to when I'm configuring the PCI driver, and then I can release (and the module can go away after that). If this was Solaris, I would use weak elf binding and some (undocumented) DDI functions to get the kernel linker to pull in the module and satisfy the reference at runtime. What's the right mechanism currently for doing this in FreeBSD-current? A couple of pointers in the right direction would be greatly appreciated. -matt 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?Pine.BSF.4.05.10006141341060.4094-100000>