Page 1 of 1

Kernel Modules

Posted: Thu Apr 18, 2013 1:43 pm
by oreo
Hi

Does anyone have resources/tutorials/wiki relating to implementing loadable kernel modules, i.e. dynamically linking and loading a module running at ring 0, to extend the kernels functionality.

Have tried searching things like "loadable kernel modules os dev", "dynamic linking os dev" etc. but to no avail.

If anyone can point me in right direction, be much appreciated.

Thanks

Re: Kernel Modules

Posted: Thu Apr 18, 2013 3:47 pm
by AJ
Hi,

Try http://www.iecc.com/linker/linker10.html for starters (along with the ELF specification). You'll find that general dynamic linking resources (rather than OSDev specific resources) may yield better results.

Cheers,
Adam

Edit: to phrase it better, there's not a lot of difference in the theory behind linking kernel modules and linking shared objects other than privileges. HTH!