作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (11): 280-282. doi: 10.3969/j.issn.1000-3428.2009.11.097

• 开发研究与设计技术 • 上一篇    下一篇

μC/OS-Ⅱ中内存管理方法的分析及改进

俞勤丰,孙 涌   

  1. (苏州大学计算机科学与技术学院,苏州 215006)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-06-05 发布日期:2009-06-05

Analysis and Improvement of Memory Management Method in μC/OS-II

YU Qin-feng, SUN Yong   

  1. (School of Computer Science and Technology, Soochow University, Suzhou 215006)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-06-05 Published:2009-06-05

摘要: μC/OS-Ⅱ系统的内存管理采用分区管理的方法,效率较高,但由于其内存块固定,不适用于申请内存块大小变化很大的系统。针对此问题,提出一种简化的自适应动态分配μC/OS-II内存的管理方法。实验结果表明,该方法能用于所申请内存块大小变化很大的系统,可满足嵌入式应用对内存快速、高效、可靠的需求。

关键词: 实时操作系统, 内存管理, 动态内存分配

Abstract: The memory management of μC/OS-Ⅱ adopts regional management algorithm, with high efficiency but for fixed memory block, it can not suit for the system with great changes of the size of memory block. This paper proposes a strategy of simplified adaptive dynamic memory allocation to improve the memory management of μC/OS-Ⅱ, makes it more suitable for the system with great changes of the size of memory block. Experimental results show that this method can meet the needs of the memory in embedded application.

Key words: real-time operating system, memory management, dynamic memory allocating

中图分类号: