Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2010, Vol. 36 ›› Issue (8): 264-266. doi: 10.3969/j.issn.1000-3428.2010.08.092

• Developmental Research • Previous Articles     Next Articles

Design and Implementation of Firewire Protocol Stack on RTEMS

ZHANG Ji-sheng, CHEN Xiang-lan, ZHOU Xue-hai   

  1. (School of Computer Science and Technology, University of Science and Technology of China, Hefei 230027)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-04-20 Published:2010-04-20

RTEMS下Firewire协议栈的设计与实现

张纪胜,陈香兰,周学海   

  1. (中国科学技术大学计算机科学与技术学院,合肥 230027)

Abstract: Currently, the Real Time Executive for Multiprocessor Systems(RTEMS) operating system is lack of support for Firewire. This paper implements an efficient mechanism to eliminate the difference of interrupt, timer, deferred procedure call, etc. between Linux and RTEMS. The new Linux Firewire stack is ported to RTEMS successfully. During the porting program, on the basis of characteristic of isochronous transmission, it also modifies the enqueue algorithm of circular queue to solve the overflow problem of driver buffer. Result shows that the goal of basic support for Firewire is achieved.

Key words: Real Time Executive for Multiprocessor Systems(RTEMS), Firewire, device driver, protocol stack

摘要: 目前RTEMS操作系统缺乏对火线的支持。针对Linux和RTEMS在中断机制、定时器机制、延迟过程调用机制等方面的较大差异,提出一种高效的解决方案,实现Linux新火线协议栈到RTEMS的移植。在管理等时传输缓冲区时,结合等时传输的特点,修改环形队列的入队算法,解决可能的缓冲区满的问题。结果表明,实现的火线协议栈已达到对火线协议基本功能支持的目标。

关键词: 实时多处理器系统, 火线, 设备驱动, 协议栈

CLC Number: