- 链接地址:https://blog.csdn.net/yilonglucky/article/details/6798045
- 链接标题:linux kernel module - hello world_kernel module hello-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:5657
文章浏览阅读880次。编写设备驱动是学习kernel的门路之一, 迈入驱动编程的第一堂课可能就是编写内核模块。第一步,编写源文件hello.c,如下#include #include MODULE_LICENSE("Dual BSD/GPL");static int hello_init(void){ printk(KERN_ALERT "hello,world1\n");_kernel module hello
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除