摘要:
最简单的Linux模块,先用它来入个门,1.看一下我们的环境是否正常;2.简单的驱动模块,有那些东西构成!/* * $Id: hellop.c,v 1.4 2004/09/26 07:02:43 gregkh Exp $ */ #include <linux/init.h>#include <linux/module.h>#include <linux/moduleparam.h>MODULE_LICENSE("Dual BSD/GPL");/* * These lines, although not shown in the book, 阅读全文
posted @ 2011-08-18 21:56
夏大王
阅读(470)
评论(0)
推荐(0)

浙公网安备 33010602011771号