摘要: linux内核编程(1)—内核模块helloworld1.代码helloworld.c#include <linux/init.h>#include <linux/kernel.h>#include <linux/module.h>static int hello_init(void){ printk("Hello! This is the helloworld module!\n"); return 0;}static void hello_exit(void){printk("Module exit! Bye Bye!\n& 阅读全文
posted @ 2012-11-07 21:33 hallou 阅读(507) 评论(0) 推荐(0) 编辑