课程: Advanced Linux: The Linux Kernel (2020)
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Examine kernel driver source
- [Instructor] Let's now talk about drivers, device drivers the source code for drivers in the Linux Kernel. So, there is a subdirectory called Drivers and there's lots of subdirectories as the drivers are organized in the different sort of categories. For example there is a subdirectory called net for network drivers, and there's a subdirectory underneath net called ethernet, for ethernet drivers. There are lots of ethernet device drivers for example in the Linux Kernel. Another subdirectory underneath Drivers is the char subdirectory for character drivers including the driver mem.c that includes the functions for working with the device file dev null. For example, in the character subdirectory you will find the file mem.c and in that file you will find the function read underscore null which is the function called when you read dev null, and you can see all it does is return zero, how long did it take to write that…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
-
(已锁定)
Get the kernel source8 分钟 23 秒
-
(已锁定)
Explore the kernel makefile4 分钟 59 秒
-
(已锁定)
Examine and build kernel documentation6 分钟 2 秒
-
(已锁定)
Search the kernel source7 分钟 58 秒
-
(已锁定)
Examine kernel driver source4 分钟 2 秒
-
(已锁定)
Additional selected subdirectories8 分钟 49 秒
-
(已锁定)
Challenge: Linux kernel source code26 秒
-
(已锁定)
Challenge: Solution4 分钟 5 秒
-
(已锁定)
-
-