检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]北京交通大学电子信息工程学院,北京100044
出 处:《计算机与现代化》2016年第6期24-28,共5页Computer and Modernization
基 金:北京交通大学基金资助项目(2012JBZ015)
摘 要:Free RTOS作为一种开源的轻量级多任务实时操作系统,被广泛应用在各种嵌入式仪器和设备中,但该操作系统不支持软件模块的动态加载,这限制了它的灵活性和扩展性。本文在详细分析ELF文件符号重定位原理的基础上,通过修改Free RTOS任务的内存布局,并在其内核中添加ELF文件加载器,实现软件模块的动态加载和卸载功能。程序在STM32平台上的测试结果表明,软件模块能够在系统运行时被动态加载入内存,并成功被Free RTOS内核调度执行。Free RTOS,as an open source lightweight multi- task real- time operating system,is widely used in all kinds of embedded instruments and equipments. But Free RTOS does not support the dynamic loading of the software module,which limits its flexibility and scalability. Based on the detailed analysis of symbol relocation principle in the ELF file,dynamic loading and unloading function of the software module is realized by modifying the memory layout for Free RTOS task,and adding the ELF file loader in the kernel. The test results on the STM32 platform show that the software module can be dynamically loaded into the memory and successfully scheduled by the kernel,while the OS is running.
关 键 词:FREERTOS ELF文件 动态软件模块 符号重定位
分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.118.126.159