本文已被:浏览 1018次 下载 2202次
Received:January 09, 2020 Revised:February 08, 2020
Received:January 09, 2020 Revised:February 08, 2020
中文摘要: 实时操作系统(RTOS)是嵌入式人工智能与物联网终端中重要工具, 不同的机构开发的RTOS其实时性、调度规则、任务间通信机制等稍有差异, 但基本要素相同. 基于通用嵌入式计算机(GEC)架构研究了RTOS在BIOS驻留方法及对外接口函数重映射机制, 以NXP的KL36芯片为例给出了mbedOS在BIOS中的驻留实现, 并给出对外接口函数重映射实例. 实践表明RTOS驻留在BIOS中, 不仅缩短了编译链接时间, 同时通过对外接口函数的重映射, 简化了对RTOS调度机制的理解, 降低了编程难度, 为有效地实现不同RTOS下应用程序的可移植性提供了技术基础.
Abstract:Real-Time Operating System (RTOS) is an important tool in embedded artificial intelligence and IoT terminals. RTOS developed by different institutions has slight differences in real-time properties, scheduling rules, and communication mechanisms between tasks, but the basic elements are the same. This work is based on the general embedded computer(GEC) architectures, studies the RTOS resident method in BIOS and the remapping mechanism of external interface function. Taking the KL36 chip of NXP as an example, the resident implementation of mbedOS in the BIOS is given, and living example of external interface function remapping is given. Practice shows that the RTOS resides in the BIOS, which can shorten the compilation and linking time. At the same time, by remapping external interface functions, the understanding of the RTOS scheduling mechanism is simplified, the programming difficulty is reduced, and the technical basis is provided for effectively implementing the portability of applications under different RTOS.
keywords: real-time operating system general embedded computer external function interface remapping BIOS KL36
文章编号: 中图分类号: 文献标志码:
基金项目:国家自然科学基金(61672369); 福建省自然科学基金(2017J01651)
引用文本:
刘长勇,王宜怀,孙亚军.GEC架构下RTOS对外接口函数重映射机制.计算机系统应用,2020,29(8):217-223
LIU Chang-Yong,WANG Yi-Huai,SUN Ya-Jun.RTOS External Interface Function Remapping Mechanism under GEC Architecture.COMPUTER SYSTEMS APPLICATIONS,2020,29(8):217-223
刘长勇,王宜怀,孙亚军.GEC架构下RTOS对外接口函数重映射机制.计算机系统应用,2020,29(8):217-223
LIU Chang-Yong,WANG Yi-Huai,SUN Ya-Jun.RTOS External Interface Function Remapping Mechanism under GEC Architecture.COMPUTER SYSTEMS APPLICATIONS,2020,29(8):217-223