2 Star 3 Fork 1

Rong Tao / linux-5.10.13

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Linux内核完全注释

Linux-5.10.13

注意:此代码不可编译

包含内容

  • 注释掉了为空的函数
  • 删除掉了"不相关"代码
  • arch 只保留 x86_64arm64
  • 删除重声明的结构,如 list_head
  • 删除 BITS_PER_LONG == 32 分支代码, 恒为假
  • 保留 BITS_PER_LONG == 64 分支代码, 恒为真
  • 删除 __BIG_ENDIAN 分支代码, 恒为假
  • 保留 __LITTLE_ENDIAN 分支代码, 恒为真
  • 删除或注释 CONFIG_X86_32 部分代码, 保留 CONFIG_X86_64
  • 具体配置请参见 config.hconfig
  • 如果有需要,会从linux master 上合入代码

注释来源

  1. Linux
  2. 我的个人理解
  3. 《奔跑吧,Linux内核》系列图书
  4. 《深入理解Linux内核》
  5. 《Linux设备驱动程序》
  6. 《Linux内核网络协议》
  7. 《深度探索Linux系统虚拟化》
  8. 《基于名字空间的安全程序设计》
  9. 《Linux二进制分析》
  10. 《Qemu/KVM源码解析与应用》
  11. Notes
  12. 还有很多

如果你看到源码注释中有notes/为前缀的注释,清参见上述 Notes 连接.

配置

config 文件

原 README

Linux kernel

There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.

In order to build the documentation, use make htmldocs or make pdfdocs. The formatted documentation can also be read online at:

https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/rtoax/linux-5.10.13.git
git@gitee.com:rtoax/linux-5.10.13.git
rtoax
linux-5.10.13
linux-5.10.13
master

搜索帮助