projects
/
my-code
/
kernel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added hello kernel module
[my-code/kernel.git]
/
hello
/
hello.c
1
/* my first kernel driver :-) */
2
3
#define MODULE
4
#include <linux/module.h>
5
6
int init_module(void) {
7
printk("<1>hi hackbard, here is your kernel speaking! :)\n");
8
return 0;
9
}
10
11
void cleanup_module(void) {
12
printk("<1>bye hackbard ...\n");
13
}
14