摘要: Device registeration The kernel uses structures of type struct cdev to represent char devices internally. Include <linux/cdev.h> so that you can use t 阅读全文
posted @ 2018-11-07 10:55 glob 阅读(159) 评论(0) 推荐(0) 编辑
摘要: /proc /proc filesystem is a special, software-created filesystem that is used by the kernel to export information to the world. If you want to work wi 阅读全文
posted @ 2018-11-07 10:46 glob 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Spinlock Spinlock usually used in code that cannot sleep, thus has higher performance than semaphores. Spinlock is implemented as a bit in an integer 阅读全文
posted @ 2018-11-07 10:18 glob 阅读(189) 评论(0) 推荐(0) 编辑