Linux device-driven overall architecture

Source: Internet
Author: User

This topic is really big, just have a general understanding, if the detailed analysis is very difficult, roughly speaking, an operating system consists of: process scheduling, memory management, device driver, file system, network, where process scheduling requires CPU, memory management needs RAM, file system access needs memory (such as hard disk, NAND flash, etc.), network access requires NIC, Linux system from bottom to bottom overall:

For an application, if a hardware operation is involved, then follow the steps in turn, and the application layer will first invoke the functions provided by the C library (such as open, read, write), and then these actions will trigger a soft interrupt (Swi interrupt) to enter the kernel space (Kernel spaces), Due to the interface of the VFS (vitual file system) provided by the kernel, the device driver is called in turn, which implements the operation of the hardware, taking the application layer operation LED hardware as an example, the following operations are performed in turn:

Follow the code to analyze the process in detail, and this will not be said

Linux device-driven overall architecture

Related Article

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.