摘要
阐述在嵌入式Linux环境下设备驱动程序的开发,详细探讨了嵌入式Linux设备驱动程序的通用模块框架和具体开发流程,说明了驱动程序与内核的关系,归纳嵌入式Linux设备驱动程序的共性。解析Linux设备驱动程序模块的概念,进一步分析了驱动模块的初始化和卸载这两个关键函数。通过实例论述如何设计和编写模块化的嵌入式Linux设备驱动程序,以及解释驱动程序的关键代码。最后归纳了开发嵌入式Linux设备驱动程序的核心思想。
The way to develop device drivers under the embedded Linux operating system is brought forward. The general module framework and the particular development process of the device drivers under embedded Linux are expatiated. The relationship between Linux device drivers and kernel is made clear, the common characters of embedded Linux device drivers is summarized. The concept of modularization of Linux device drivers is illuminated. Further more, the two key functions of modularized device drivers is analyzed, namely init module Oand cleanup_module O. How to design and program the modularized device drivers under embedded Linux by explaining an example driver is discussed and some pivotal codes are made clear. In the end, the core idea on the development of device drivers under embedded Linux is concluded.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第20期3737-3740,共4页
Computer Engineering and Design
基金
国家863高技术研究发展计划基金项目(2001AA413610)