An open API service indexing awesome lists of open source software.

https://github.com/grgomariani/lkm_tutorial

A short tutorial on Linux Kernel Modules. It's meant to complement other tutorials you can find online.
https://github.com/grgomariani/lkm_tutorial

linux-kernel-module lkm tutorial-code

Last synced: 6 months ago
JSON representation

A short tutorial on Linux Kernel Modules. It's meant to complement other tutorials you can find online.

Awesome Lists containing this project

README

          

# Linux Kernel Modules Tutorial
- - - -
- - - -
I've decided to write a different kind of tutorial on LKMs. There's a lot of tutorials online, but since this is a really complex topic one more cannot really hurt.
It's mostly meant to __complement__ other HowTos you can find online.
I'm familiarizing myself completely with the topic as well so don't mind if I fail to touch a few things.

Be sure to check the links I listed in the 'Other' directory.

This tutorial should be read somewhat differently than the tutorials you might be used to by now. I'm not big on explaining things myself so I'll leave that to yourselves.

__However__, what I will do here is cover a lot of ground you might not have covered by your own and leave you to your own to effing google it.

- - - -
- - - -

### [Part 0 - Preparation](0_Preparation/README.md)

Installing the prereqs needed to compile your custom modules.

### [Part 1 - Our First Module](1_Our_First_Module/README.md)

"Hello World" as LKM.

### [Part 2 - Devices](2_Devices/README.md)
Let's create a _virtual device_ we can access from __/dev__ folder.

### Part 3 - Hardware
_todo_ __todo__ _todo_ __todo__

### [Other](Other/README.md)

This is where I'll keep interesting links.