In the previous Kernel Module Programming Tutorial, we got started with a simple ‘Hello World’ program to be loaded in the kernel. Now, let us proceed further. Let us write another module with the name “ExampleK”. For newbies, do the following on the terminal : nano ExampleK.c Then write the following code : #include <linux/module.h> […]
Driver
Embedded Systems – Linux Kernel Module Programming
“Do you pine for the nice days of Minix-1.1, when men were men and wrote their own device drivers ?” – Linus Torvalds What is a Kernel Module ? Modules are pieces of code that can be loaded and unloaded into the Kernel upon demand. Now, we get to the real action, where […]