Linux driver development

Source: Internet
Author: User
Application ProgramIs a process, starting from main (), main (), the process ends, the driver is a series of kernel functions, these functions are called by the kernel when appropriate.
Development Process:
1. Familiar with device features.
2. determine the type of device driver.
3. Write test cases.
4. Collect reusable Code.
5. Write your own driver code.
6. debug, code, and test.

When an application calls a device file, the Linux kernel calls the corresponding Driver Based on the device type and master device Number of the file and enters the core State from the user State, then, the driver determines the device number, and finally completes the operation on the corresponding hardware.

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.