The role of a .linux device driver
Kernel: used to manage hardware and software resources, and provide a running environment. Such as the allocation of 4G virtual space and so on.
linux device driver: is the bridge between the connection hardware and the kernel.
Linux system can be divided according to personal understanding:
Application layer:
including POSIX interface, LIBC, graphics library, etc., for providing users with access to the kernel interface . In user mode, ARM runs in user mode (usr) or system mode (sys).
Core layer:
After the application calls the relevant interface, it will execute the SWI instruction to switch the ARM working mode to the super user (svc) mode through the system call, and execute according to the requirements of the user function. The corresponding operation.
Hardware layer:
Hardware devices, when the user needs to operate the hardware, the kernel will operate the hardware device according to the driver interface.
The diagram structure is as follows:
linux graph structure < Br>
Let a relatively evil analogy:
In the hotel, I often see some cards in the door, saying that you can provide a certain service by calling and delivering the goods.
linux analogy diagram
II. Kernel code tree introduction
linux-2.6.29
Or from the process of compiling the link to generate vmlinux, it is made up of a bunch of .o files
Description of Requirement compile and install MySQL, PHP , and Apache to work a. The process o
1. When Liunx just started rebooting. Here we press the “e” key to enter the Grub config
Preparation before erection: To set up a DNS server, you must install a software program that provi
Active buzzer and passive buzzer difference
Linux cp command file directory copy
Linux terminal and X Window switch
About the start of the embedded system (SHARE FOR ALL)
Give the scanner a home in a Linux system.
Linux cd command Switch working directory
Novice Academy: Six questions you should know about installing Linux
Linux modify mysql data file path
Flexible backup with console command RAR
Win10 standby continuous network how to set up win10 standby wake up can not connect wifi solution
How to easily erase traces of Win7 search records
Can XP enter the command line mode directly after booting
Setting method for prohibiting computer file encryption under Win7 system
How to save the contents of Win7 system webpage? Win7 system intercepts the entire web page
How to change the default input method of win10, Win10 default input method set