单片机与嵌入式系统应用2011,Vol.11Issue(7):30-33,4.
Buddy算法的μC/OS-Ⅱ高可靠内存管理方案
Strategy of Higher Reliability Memory Management in μC/OS- Ⅱ with Buddy Algorithm
摘要
Abstract
This paper proposes a highly reliable strategy of memory management for μC/OS - II which originally has a low reliable and inflexible strategy of memory management. The new strategy divides the unused memory into a series of blocks whose size are regulatory power of 2. If the small memory blocks can't meet the allocation requirement, it gets a half block of bigger memory blocks. When the memory block is retrieved, two memory blocks of same size and contiguous addresses can be combined into one bigger memory block. What's more, the strategy uses the index array to locate the needed memory block quickly. Comparative experiments show that the reliability of the new strategy impoves 4 times higher than the original strategy and the memory management is more flexible.关键词
可靠性;Buddy算法;内存管理;μC/OS-Ⅱ;嵌入式操作系统Key words
reliability/ Buddy algorithm/ memory management/ μC/OS-II/ embedded operating system分类
信息技术与安全科学引用本文复制引用
国庆波,郭兵,沈艳..Buddy算法的μC/OS-Ⅱ高可靠内存管理方案[J].单片机与嵌入式系统应用,2011,11(7):30-33,4.基金项目
“863”计划基金资助项目(2008AA01Z105)(课题名称:基于软/硬件划分的嵌入式软件低功耗设计关键技术研究). (2008AA01Z105)