Hello,
i am looking for some infos (may be papers) about how KLD linker works.
After kompiling the KLD contain two important sections:
% readelf -S mymod.ko | grep set
[ 7] set_sysinit_set   PROGBITS        00000560 000560 000004 00   A  0   0
4
[ 8] set_modmetadata_s PROGBITS        00000564 000564 000008 00   A  0   0
4
.....

sysinit_set -contain a structure with a pointer to function which will be
called by loading of KLD

modmetadata_set - what kind of information is there and which functions of
linking/loading use it ?

What exact does the macro MODULE_DEPEND ? The man page is to short, and I
guess it tell no all things that the macro does.

Thanks
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to