Kernel Modules

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
oreo
Posts: 2
Joined: Sun Jan 13, 2013 3:56 pm

Kernel Modules

Post 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
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Kernel Modules

Post 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!
Post Reply