我的第一个内核模块之Hello world_hello word内核模块-CSDN博客

网站介绍:文章浏览阅读206次。准备需要查看自己的内核版本以备不时之需,命令是uname -r内核头文件的位置/usr/src/<内核版本>/include/创建一个目录用于写hello world内核模块开始写内核模块step 1:创建名为testkernel.c的文件>> vim testkernel.cstep 2:testkernel.c文件内容如下:#include<..._hello word内核模块