Source codeAll in the directory:/usr/src/Linux (mostlyLinuxReleasing Version)
Arch:Includes hardware architecture-relatedCodeEach platform occupies a directory. The 32-bit PC-related code is stored in the i386 directory, including the kernel core, mm (memory management), and math-EMU (floating point unit simulation), lib (hardware-related tool functions), boot (bootProgram), PCI (PCI Bus), and power (CPU-related status ).
Block:Some block device drivers.
Crypto:Common encryption and hashAlgorithm(Such as AES and Sha), as well as some compression and CRC verification algorithms.
Documentation:General explanations and comments about each part of the kernel.
Drivers:Device Drivers, each of which occupies a sub-directory.
FS:Various supported file systems, such as Ext, fat, and NTFS.
Include:Header file. The System-related header files are placed in the Linux subdirectory.
Init:Kernel initialization Code (not the System Boot Code ).
IPC:Code for inter-process communication.
Kernel:The core of the kernel, including process scheduling and timer, is stored in the arch/*/kernel directory.
Lib:Library File code.
MM:Memory Management Code. Some codes related to the platform are stored in the arch/*/mm directory.
Net:Network-related code implements various common network protocols.
Scripts:The script file used to configure the Kernel File.
Security:It is mainly a SELinux module.
Sound:Drivers for commonly used audio devices.
USR:Implements a cpio.
In the i386 system, the system will start executing from arch/i386/kernel/head. s, and then transfer it to the main () function in init/Main. C to initialize the kernel.