mirror of
https://github.com/bashrc/LKMPG.git
synced 2018-06-11 03:06:54 +02:00
Do it! Do it now!
This commit is contained in:
@@ -191,7 +191,7 @@ by using gcc's -I switch.
|
||||
|
||||
When the first caveman programmer chiseled the first program on the walls of the first cave computer, it was a program to paint the string `Hello, world' in Antelope pictures. Roman programming textbooks began with the `Salut, Mundi' program. I don't know what happens to people who break with this tradition, but I think it's safer not to find out. We'll start with a series of hello world programs that demonstrate the different aspects of the basics of writing a kernel module.
|
||||
|
||||
Here's the simplest module possible. Don't compile it yet; we'll cover module compilation in the next section.
|
||||
Here's the simplest module possible.
|
||||
|
||||
*** Example: hello-1.c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user