- 博客(3)
- 资源 (7)
- 收藏
- 关注
原创 Linux设备驱动之字符设备(二)
通过上一节Linux设备驱动字符设备(一)了解了Linux设备驱动的分类,设备号的构成,设备号的申请以及设备号的释放。在Linux内核中使用struct cdev结构来代码字符设备。<include/linux/cdev.h>--------------------------------------------------struct cdev { struct kobject kob
2016-06-22 17:02:20 632
原创 disable_irq/enable_irq使用不匹配
最近在一次稳定性测试中,发现Kernel Log中出现了如下的Warring,如下:WARNING: CPU: 4 PID: 2956 at /space/builder/repo/sprdroid6.0_trunk_k318_dev/kernel/kernel/irq/manage.c:444 __enable_irq+0x50/0x94()Unbalanced enable for IRQ 2
2016-06-22 16:09:04 6805
原创 Linux设备驱动之字符设备(一)
Linux中设备驱动的分类从上图可以看到Linux系统将各异的设备分为三大类:字符设备,块设备和网络设备。内核针对每一类设备都提供了对应驱动模型架构,包括基本的内核设施和文件系统接口。字符设备:在传送过程中以字符为单位,一个字节一个字节的读写,不能随机的读写数据,因为这类设备读写速度比较缓慢(因而其内核设施中不提供缓存机制),常见的字符设备有键盘,鼠标已打印机设备等。块设备: 是指可以从任意位置读取
2016-06-22 15:27:59 1486
ARMGIC手册详解.zip
2020-03-21
ARM_v8_architecture参考手册.zip
2020-03-21
ARMv8-A_Architecture.zip
2020-03-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人