期刊文献+

基于国产Linux平台的设备管理软件设计与实现 被引量:2

Design and Implementation of a Device Management Program Based on a Homegrown Linux Platform
下载PDF
导出
摘要 针对国产Linux操作系统不能提供高精度时间,也不能实时响应外部事件的问题,设计和实现了时统中断设备管理软件。该软件采用内核模块技术管理设备,利用设备的中断信号调度应用程序,并为应用程序提供高精度的统一时间。为提高外部中断事件的响应时间,时统中断设备管理程序采用tasklet机制管理中断,为不同的中断事件建立不同的管理队列,采用较小粒度的旋转锁以提高代码的并发性。时统中断设备管理程序能为应用程序提供μs级精度的精确时间,中断响应时间为10μs级。经过长时间测试,系统运行稳定可靠,开销小,功能和性能都满足工程需求。 A timing and interrupt device management program is designed and implemented to make up for the inabil- ity of homegrown Linux operating systems to provide high precision time and realtime response to external events. The program uses kernel module technology to manage devices and uses interrupt signals to schedule applications and it provides high precision unified time to applications. To improve the effect of responding time to external inter- rupt events, three methods are applied: using tasklet mechanism to process interrupts; establishing different management queues for different interrupt events; and fine-grained lock is used to improve concurrency. The program provides applications with microsecond precision time and the interrupt response time reaches 10 microsecond level. A long time testing finds that the program is stable and reliable with lower CPU (Central Processing Unit) overhead. Its functionality and performance fully meet customer requirements.
出处 《飞行器测控学报》 CSCD 2014年第5期453-457,共5页 Journal of Spacecraft TT&C Technology
关键词 国产Linux平台 时统中断设备 实时调度 高精度时间 homegrown Linux platform timing interrupt device realtime scheduling high-precision time
  • 相关文献

参考文献10

  • 1金鑫,孙松林,景晓军.Linux下有中断端点的USB设备驱动的实现[J].计算机工程与设计,2010,31(7):1576-1579. 被引量:6
  • 2Kerrisk M. The Linux programming inter~ace[M]. New York~ No Starch Press, 2010: 35-36.
  • 3Love R. Linux kernel Development[M]. 3rd ed. Boston Addison-Wesley, 2010.. 338-348.
  • 4湖南麒麟信息工程技术有限公司.中标麒麟操作系统实时版技术白皮书[M].长沙:湖南麒麟信息工程技术有限公司,2012:5-6.
  • 5CorbetJ,Kroah-HartmanG,RubiniA.Linux设备驱动程序[M].魏永明,耿岳,钟书毅,译.3版.北京:中国电力出版社,2005:259280.
  • 6李云华.Linux内核源代码导读[M].北京:电子工业出版社,2009.
  • 7杨志强,王厚军,李力.Linux系统下的PCI串口设备驱动[J].电子测量技术,2011,34(9):58-60. 被引量:6
  • 8王森,何建忠.基于linux系统的字符设备驱动研究与设计[J].微计算机信息,2012,28(3):173-175. 被引量:4
  • 9Venkateswaran S. Essential linux device drivers[M]. Bos- ton: Prentice Hall, 2008: 39-49.
  • 10Wheeler D A. Program library how to[EB/OL]. (2002-08- 02)[2012-11-20]~. http://www, dwheeler, corn/program_li- brary.

二级参考文献26

  • 1梁正平,毋国庆,肖敬.Linux中USB设备驱动程序研究[J].计算机应用研究,2004,21(6):70-72. 被引量:11
  • 2董春桥,李凯.Linux系统PCI设备驱动程序开发[J].计算机测量与控制,2005,13(11):1289-1291. 被引量:11
  • 3曾水平,徐峰.Linux系统下USB设备驱动的实现[J].国外电子测量技术,2006,25(10):30-32. 被引量:6
  • 4魏永明,耿月,钟书毅译.Linux设备驱动程序[M].中国电力出版社.2006.46-74.
  • 5Linux kernel source code[Z].Linux-2.6.22.14.
  • 6梁国军.Linux环境下USB的原理、驱动和配置[EB/OL].http://www.builder.com.cn,2007.
  • 7赵明.Linux下的硬件驱动--USB设备[EB/OL].http://www.ibm.com/developcrworks/cn/linux,2003.
  • 8科波特.LINUX设备驱动程序[M].魏永明,译.北京:中国电力出版社,2006.
  • 9宋宝华.Linux设备驱动详解[M].北京:人民邮电出版社,2008.
  • 10韦东山.嵌入式Linux开发应用开发完全手册[M].北京:人民邮电出版社,2008.

共引文献14

同被引文献20

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部