Date: 12 Feb 1999 15:47:20 +0100 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: Emmanuel DELOGET <pixel@DotCom.FR> Cc: bf20761@binghamton.edu, hackers@FreeBSD.ORG (FreeBSD Hackers Mail List) Subject: Re: TEXT_SET() macro Message-ID: <xzpogmzof0n.fsf@flood.ping.uio.no> In-Reply-To: Emmanuel DELOGET's message of "Fri, 12 Feb 1999 14:42:05 %2B0100 (MET)" References: <199902121342.NAA07308@excalibur.oceanis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Emmanuel DELOGET <pixel@DotCom.FR> writes: > I wanna know how it's working both at compile time and at run time > (for example, does a lkm (yes lkm, not kld, since I'm working on a > 2.2.8 release...) can declare linker_sets, or add entries in a kernel > linker_set, [for example , the sysctl_ one - seems that I'm very > interested in sysctls :)]. Thaks a lot. Yes. You shouldn't be working on 2.2.8 - the 2.2 branch is dead now. Save yourself a lot of trouble and go to 3.1. For linker set examples, look up the definition of the DECLARE_MODULE macro to see how they are declared and read the kldload code to see how they are used. Use e.g. <URL:http://lxr.linux.no/freebsd/source> You can declare sysctls in modules, but the sysctl code will not pick them up so it's pretty useless. There is work pending to make that possible. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no 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?xzpogmzof0n.fsf>