- 链接地址:https://mxlei.blog.csdn.net/article/details/120326741
- 链接标题:Linux内核模块HelloWorld_fs4412中的helloworld内核模块-CSDN博客
- 所属网站:mxlei.blog.csdn.net
- 被收藏次数:7948
文章浏览阅读770次。内核模块内核整体架构非常庞大,编译时只把需要的功能编译到内核,其他部分可以编译成模块(.ko文件),在内核运行时,可动态注册模块到内核,也可卸载模块。本文代码:https://github.com/mxxlei/kernel_demo/tree/master/1-module-hello1. 内核模块hello world#include <linux/init.h>#include <linux/module.h>static int __init hello_ini_fs4412中的helloworld内核模块
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除