2016年6月10日
摘要: 转载网址:http://my.oschina.net/haomcu/blog/468656 1. 什么是系统调用 2. read系统调用在内核空间的处理层次模型 3. 相关的内核数据结构 4. read系统调用的过程 4.1. 前提条件 4.2. read前的open 4.3. 虚拟文件系统层的处理 阅读全文
posted @ 2016-06-10 19:08 FREEH 阅读(466) 评论(0) 推荐(0)
摘要: 网址:http://blog.chinaunix.net/uid-24807808-id-3219820.html 在看linux源码的时候,经常会看到类似于下面的结构体赋值的代码: struct device my_dev = { .bus = &my_bus_type, .parent = &m 阅读全文
posted @ 2016-06-10 10:13 FREEH 阅读(2412) 评论(0) 推荐(0)