吉首大学学报(自然科学版)

• 计算机 • 上一篇    下一篇

MQX操作系统底层驱动设计分析与改进

潘俊虹,彭涛,蔡闯华   

  1. (1.武夷学院数学与计算机学院,福建 武夷山 354300;2.苏州大学计算机科学与技术学院,江苏 苏州 215006;3.认知计算与智能信息处理福建省高校重点实验室,福建 武夷山 354300)
  • 出版日期:2020-01-25 发布日期:2020-01-19
  • 作者简介:潘俊虹(1980—),男,安徽黄山人,武夷学院数学与计算机学院副教授,高级工程师,硕士,主要从事嵌入式系统与物联网研究.
  • 基金资助:

    国家自然科学基金资助项目(61672369);福建省教育厅中青年教师科研基金(JAT160521);武夷学院科研基金项目(XD201506)

Analysis and Improvement of the Bottom Drive Design of MQX Operating System

PAN Junhong, PENG Tao, CAI Chuanghua   

  1. (1. School of Mathematics and Computer Science, Wuyi University, Wuyishan 354300, Fujian China; 2. Department of Computer Science and Technology, Soochow University, Suzhou 215006, Suzhou China; 3. Key Laboratory of Cognitive Computing and Intelligent Information Processing of Fujian Education Institutions, Wuyishan 354300, Fujian China)
  • Online:2020-01-25 Published:2020-01-19

摘要:

分析了MQX实时操作系统设备驱动管理模式,给出了该模式下底层驱动程序设计开发的基本步骤和方法.针对该模式存在设备驱动过于依附操作系统,不利于移植和复用等问题,在I/O子系统层和底层设备驱动层增加接口驱动层,用来解析和传递设备参数,并将设备驱动剥离操作系统,有效地提高了驱动构件的移植和复用效率.实验结果表明,该方法设计的设备驱动构件稳定可靠.

关键词: MQX, 实时操作系统, I/O子系统, 底层驱动

Abstract:

The MQX real-time operating system device driver management mode is analyzed, and the basic steps and methods of the underlying driver design and development under this mode are given. Aim at the problem that the device driver is too dependent on the operating system in this mode, which is not conducive to porting and reuse. By adding an interface driver layer at the I/O subsystem level and the underlying device driver layer to analyze and transmit device parameters, the device drivers are stripped from the operating system, and the efficiency of porting and reuse of the drive components is effectively improved. Experimental tests show that the device drive components designed by this method are stable and reliable.

Key words: MQX, real time operation system, I/O subsystem, underlying driver

公众号 电子书橱 超星期刊 手机浏览 在线QQ