摘要: asm的路径是 arch/xxx/include/asm/asm-generic 的路径是 include/asm-generic/代码中包含asm/中的头文件,如果某一个架构没有自己特殊代码的话,其中会使用通用版本的头文件,即包含 asm-generic/里的对应.h文件。代码中不会直接包含 asm-generic/ 里的.h文件拿arm来举例#include 引用的头文件是 arch/arm/include/asm/gpio.h#include 引用的是头文件是 include/asm-generic/gpio.h 阅读全文
posted @ 2013-03-14 13:43 sammei 阅读(3522) 评论(0) 推荐(0) 编辑