计算机工程 ›› 2007, Vol. 33 ›› Issue (21): 273-275.doi: 10.3969/j.issn.1000-3428.2007.21.097

• 开发研究与设计技术 • 上一篇    下一篇

基于嵌入式实时操作系统的驱动框架

李 健1,3,李明禄2,张 激3,施 刚3   

  1. (1. 上海交通大学软件学院,上海 200030;2. 上海交通大学计算机系,上海 200030;3. 华东计算技术研究所,上海 200233)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-11-05 发布日期:2007-11-05

Device Driver Framework Based on Embedded Real-time Operating System

LI Jian 1,3, LI Ming-lu 2, ZHANG Ji 3, SHI Gang 3   

  1. (1. School of Software, Shanghai Jiaotong University, Shanghai 200030; 2. Department of Computer Science, Shanghai Jiaotong University, Shanghai 200030; 3. East-China Institute of Computer Technology, Shanghai 200030)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-11-05 Published:2007-11-05

摘要: 嵌入式设备随着应用领域的扩展呈现出多样性以及复杂性,而嵌入式实时系统普遍不具有良好的设备驱动体系结构,造成驱动开发困难、可移植性差。该文给出了一种嵌入式实时操作系统下的驱动框架,支持各种设备及总线接口,设计了一种快速的设备中断机制,符合嵌入式实时系统的强实时、高可靠的特点,能够满足开发各种嵌入式系统。

关键词: 实时操作系统, 驱动框架, 中断处理

Abstract: The widespread usages of embedded applications have led to a new level of functional variety and complexity in embedded hardware. Because of the lack of a common framework for developing device drivers, implementing or porting drivers for real-time embedded systems is a difficult task for developers. This paper presents a common framework for driver development based on real-time operating systems, various devices and bus interfaces will be supported with ease under this scheme. A technique of implementing a high speed interrupt system required to meet the hard timing constraint and high reliability of real-time systems is also explained.

Key words: real-time embedded operating system(RTOS), driver framework, interrupt processing

中图分类号: