# linux **Repository Path**: foreverbc/linux ## Basic Information - **Project Name**: linux - **Description**: 内核代码注解之路。主要有两个分支,master和V3.10,master是V5.16版本,V3.10版本即CentOS Linux release 7.9.2009 (Core) 对应的linux内核版本。 - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 0 - **Created**: 2023-01-15 - **Last Updated**: 2026-04-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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. arch// ---- 不同平台体系结构相关的代码,例如arm, x86等等。 arch//mach- ---- 具体的machine/board相关的代码。 arch//include/asm ---- 体系结构相关的头文件。 arch//boot/dts ---- 设备树(Device Tree)文件。 block/ ---- 提供块设备的层次。 certs/ ---- 与认证和签名相关的代码 crypto/ ----- 加密、解密相关的库函数。 Documentation ---- 帮助、说明文档, 描述模块功能和协议规范代码. drivers/ ---- 设备驱动(USB总线、PCI总线、显卡、网卡等)。 fs/ ---- VFS。 include/ ---- 内核源码依赖的绝大部分头文件,需要提供给外部模块(例如用户空间代码)使用。 init/ ---- 内核初始化代码,直接关联到内核各个组件入口。 ipc/ ---- IPC(进程间通信,比如信号量、共享内存等等)。 kernel/ ---- Linux内核的核心代码,包括进程管理、IRQ等等 lib/ ---- C标准库的子集. 实现需要在内核中使用的库函数,例如CRC、FIFO、list、MD5等。 LICENSES/ -- LINUX内核根据Licenses/preferred/GPL-2.0中提供GNU通用公共许可证版本2。 mm/ ---- 内存管理的相关实现操作。 net/ ---- 网络协议代码, 比如tcp、wifi、ipv4、ipv6等等。 samples/ ---- 一些示例代码。 scripts/ ---- 编译和[配置内核所需要的脚本。 security/ ---- 内核安全模型相关代码, 提供安全特性(SELinux)。 sound/ ---- 声卡驱动源码。 tools/ ---- 与内核交互的工具,如性能剖析、自测试等。 usr/ ---- 用户打包和压缩内核的实现的源码。 virt/ ---- 提供虚拟机技术(KVM等)的支持。 COPYING ---- 版权声明。 CREDITS ---- Linux主要的贡献者名单。 Kconfig, Kbuild, Makefile --- 用于内核编译的配置文件、脚本等。 MAINTAINERS ----维护者名单。