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
Kernel Modules
Re: Kernel Modules
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!
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!