摘要: 以hello world模块为例 Makfile: make输出信息: 从输出信息中可以看出 ,最终的目的是生成了 helloworld.ko 这个文件 运行结果: 为什么需要使用printk 函数来打印了? 在模块运行过程中,不能依赖于c库,模块能够调用printk是因为在 insmod函数装入模 阅读全文
posted @ 2019-04-24 22:32 Dipsyhu 阅读(378) 评论(0) 推荐(0) 编辑