Subject: Question about modules
To: None <tech-kern@netbsd.org>
From: Hans Petter Selasky <hselasky@c2i.net>
List: tech-kern
Date: 08/28/2005 16:21:48
Hi,

On FreeBSD they use the "__section__" attribute to do linking magic. But on=
=20
NetBSD I am completely lost :-)

1) What is the logic behind linking modules?=20

# pwd=20
/usr/src/sys/lkm/vfs/adosfs

# ls
CVS             Makefile        lkminit_vfs.c
                                ^^^ is there some
                       magic hidden in this filename?

=46rom where is the following function called:

adosfs_lkmentry


Is this function also called when the module is
in the kernel ?

2) Where is PSEUDO_SET defined?


Thanks,
=2D-HPS