Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 07:46:48 +0200 (MEST)
From:      "Stanley Jobson" <Stanley.Jobson@gmx.ch>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        current@freebsd.org
Subject:   Re: KLD technical docs
Message-ID:  <20878.1143697608@www080.gmx.net>
References:  <20060329190123.GQ7001@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > for my master thesis i am looking for technical docs about
> > > > dynamic linking esp. about the kernel dynamic linker facility.
> > > > 
> > > > i found some good docs about dynamic linking in general but
> > > > nothing about KLD/LKM.
> > > > 
> > > > are there any technical docs on KLD? I read the short chapter
> > > > in the arch handbook but thats not much info.
> > > > 
> > > > i am interested in docs answering the following questions:
> > > > - how does the dynamic loading and linking work for KLDs/LKMs?
> > > > - does this anything has to do with libbfd, libdl or rtld?
> > > > - how are dependencies handled?
> > > > 
> > > > technical info to LKM and dynamic linking facility of the other
> > > > BSDs would be also interesting :)
> > > 
> > > The best technical doc is src/sys/kern/kern_linker.c...  :)  That
> > > handles all the magic of SYSINIT's, sysctl's and the other magic of
> > > kernel modules...
> > 
> > sure ;-) ... but kinda low level ... so am i right that there is no
> > higher level doc available ? 
> 
> Besides docs on how to write kld drivers, not really...
> 
> A couple links I found on writing kld's:
> http://ezine.daemonnews.org/200010/blueprints.html
>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/driverbasics-kld.html
> 

thank u - i know these docs - unfort. not really what i am looking for :(

btw: i read somewhere that there was a discussion about KLD vs. LKM but i
couldnt find the original (only citations). does anybody has a link?


thx
regards,
stan




-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20878.1143697608>