摘要:
linux 模块/usr/src//Documentation/kbuild/modules.txt 有说明hello.c/* hello.c example minial module code */#include static int __init hello_init(void){ printk( KERN_INFO "Hello !\n" ); return 0;}static void __exit hello_exit(void){ printk( "Bye !\n" ); return ;}module_init(hello_init); 阅读全文