Giter Site home page Giter Site logo

rtoax / linux-5.10.13 Goto Github PK

View Code? Open in Web Editor NEW
60.0 7.0 12.0 69.94 MB

Linux kernel fully commented

License: Other

C 97.61% Assembly 0.97% C++ 0.02% Shell 0.19% Perl 0.11% Awk 0.02% UnrealScript 0.01% Lex 0.01% Yacc 0.02% Python 0.48% XS 0.01% Raku 0.01% Roff 0.04% Makefile 0.50%

linux-5.10.13's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.