编译环境 ubuntu 10.10 交叉编译器 gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10) 编译版本 linux 2.6.30 //hello.c#include <linux/init.h>#include <linux/module.h> static int __init hello_init(void){ printk(KERN_ALERT "Hello,Canson\n"); return 0;}static void Read More
posted @ 2011-04-19 10:44 CanY Views(5020) Comments(0) Diggs(0) Edit