文章目录
-
-
- 了解Linux的那个驱动?举例讲讲。
- 中断上半部下半部
- spinlock semphore mutex 区别
- uboot传给kernel的参数
- 内核空间和用户空间通信方式
- MMU作用
- 实现container_of
-
- Linux内核中container_of宏的详细解释
-
- 结构体在内存中是如何存储的
- container_of宏
- typeof
- (((type *)0)->member)
- const typeof(((type *)0)->member)*__mptr = (ptr);
- offsetof(type, member))
- (type *)((char *)__mptr - offsetof(type, membe
-