![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
文章平均质量分 81
斗大的熊猫
新浪微博http://weibo.com/u/2415895697
展开
-
linux源代码目录结构
At the very top level of the source tree linux you will see a number of directories:archThe arch subdirectory contains all of the architecture specific kernel code. It has further subdirectories翻译 2015-03-09 10:21:27 · 553 阅读 · 0 评论 -
linux模块介绍
ModulesThis chapter describes how the Linux kernel can dynamically load functions, for example filesystems, only when they are needed.Linux is a monolithic kernel; that is, it is one, single, larg翻译 2015-03-09 10:35:01 · 436 阅读 · 0 评论 -
linux模块的加载
There are two ways that a kernel module can be loaded. The first way is to use the insmod command to manually insert the module into the kernel.The second, and much more clever way, is to load the m翻译 2015-03-09 10:38:54 · 766 阅读 · 0 评论 -
linux模块的卸载
Unloading a ModuleModules can be removed using the rmmod command but demand loaded modules are automatically removed from the system by kerneld when they are no longer being used. Every time its idl翻译 2015-03-09 10:46:46 · 770 阅读 · 0 评论 -
制作deb安装包(Debian Binary Package)全过程
1.Getting StartedFrom the Debian Reference 2.2.2 2002-11-30: "The internals of this Debian binary package format are described in the deb(5) manual page. Because this internal format is subject to c翻译 2015-03-09 11:44:40 · 3984 阅读 · 0 评论 -
linux内核启动顺序
参见linux源码树结构linux内核的中心是文件init/main.c。在底层架构相关的设置完成之后立刻调用了start_kernel函数。start_kernel函数就位于init/main.c。kernel代码执行顺序大致如下:架构相关 ( arch / * /) ---> 函数start_kernel() (init/main.c) ---> 函数init( i原创 2015-03-13 14:59:05 · 1154 阅读 · 0 评论 -
编写linux模块(由浅入深)
开启内核对模块的支持在编译内核时确保开启加载模块支持。Loadable module support ---> [*] Enable loadable module support [*] Module unloading [ ] Module versioning support (EXPERIMENTAL) [*]原创 2015-03-13 16:43:02 · 702 阅读 · 0 评论