linux驱动学习1---Hello World模块

目的: 主要用于熟悉驱动程序编写及调试基本流程。linux 1.准备          操做系统: ubuntu12.04 LTSshell 2.源码 #include <linux/init.h> #include <linux/module.h> static int hello_init(void) { pr_info("Hello, World.\n"); return 0; }
相关文章
相关标签/搜索