LDD3学习笔记(一) --hello world模块
<br /> <br />Hello world 源程序<br />#include <linux/init.h>
#include <linux/module.h>
MODULE_LICENSE("Dual BSD/GPL");
static int hello_init(void)
{
printk(KERN_ALERT "Hello, world!/n");
return 0;
}
static void hello_exit(void)
{
printk
原创
2010-09-27 22:13:00 ·
1274 阅读 ·
0 评论