Android Deep Exploration with Hal Drive Development (Vol. 1)--fourth chapter essay

Source: Internet
Author: User

Linux kernel source code directory meaning

Arch:Contains code related to hardware architecture, each of which occupies a corresponding directory. and 32-bit PC-related code is stored in the I386 directory, where the more important include kernel (kernel core), mm (memory management), MATH-EMU (floating-point unit emulation), LIB (Hardware-related tool function), boot (boot program), PCI (PCI bus) and power (CPU-related status).

Block:Part of the block device driver.

Crypto:Commonly used encryption and hashing algorithms (such as AES, SHA, etc.), there are some compression and CRC check algorithms.

Documentation:General explanations and comments about the parts of the kernel.

Drivers:A device driver that consumes a subdirectory for each different driver.

FS:Various supported file systems, such as EXT, FAT, NTFS, and so on.

include:Header file. Among them, the system-related header files are placed under the Linux sub-directory.

Init:Kernel initialization code (note that it is not the system boot code).

IPC:The code for inter-process communication.

Kernel:The core components of the kernel, including process scheduling, timers, etc., are part of the platform-related code in the Arch/*/kernel directory.

Lib:Library file code.

mm:Memory management code, and part of the platform-related code is placed in the ARCH/*/MM directory.

Net:Network-related code, the implementation of a variety of common network protocols.

Scripts:The script file used to configure the kernel files.

Security:is primarily a selinux module.

Sound:Drivers for commonly used audio devices.

USR
:Implements a cpio.

Android Deep Exploration with Hal Drive Development (Vol. 1)--fourth chapter essay

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.