摘要
对于没有内存管理单元MMU机制的嵌入式系统,采用实存储器管理策略的关键问题是有效、安全、可靠地使用内存。文中通过研究嵌入式开发对内存管理的基本要求、嵌入式开发内存管理的关键问题和VxWorks内存管理机制,给出了新的内存分配方案,即把除VxWorks系统保留内存以外的内存分为三种类型进行管理:固定大小的缓冲池、动态可变的堆以及由各种固定大小的缓冲区组成的队列。这种分配方案有效的满足了不同上层应用使用内存的需求,并且有效地避免了内存碎片问题。
Embedded system without MMU, the key issue by using real memory management policy is efficient, safe and reliable. The basic requirements of embedded system memory management, is introduced The key issues and gives a improvement of VxWorks memory management mechanism, and discusses that the rest memory except system memory managed by user is divided into three parts: fitted length buffer, stack and the queues composed of dynamic length buffer. This scheme satisfies different requirement of memory, and avoids memory tragments.
出处
《科学技术与工程》
2007年第6期1218-1220,1224,共4页
Science Technology and Engineering