节点文献
嵌入式软件开发平台内存管理软件的设计与实现
【作者】 于以序;
【导师】 张建中;
【作者基本信息】 电子科技大学 , 计算机系统结构, 2005, 硕士
【摘要】 嵌入式系统正迅速向在各种各样的电子设备中“弥漫”。随着设备复杂度提高,嵌入式应用程序也越来越复杂。设备开发商希望应用软件能摆脱下层操作系统和硬件的限制,在多种系统平台上移植,需要具有行业功能特征的开发平台来降低嵌入式应用的开发成本。嵌入式软件开发平台是满足上述需求的有效途径。本文在分析了嵌入式系统及嵌入式软件开发过程及其内存管理的特点的基础上,研究嵌入式软件开发平台的整体需求和对内存管理模块的具体需求;描述了面向通信行业的嵌入式软件开发平台的整体结构,具体提出了嵌入式软件开发平台内存管理模块的设计思想:核心数据区管理+进程堆栈与数据区管理+UB区管理+高端映射地址的管理,和具体实现代码来实现内存申请与释放、内存保护、内存泄漏检查、提供系统内存信息等功能。本文还对内存模块进行了系统测试,保证能满足整个平台在功能、性能以及稳定性方面的需要,并同相似平台的内存模块做了比较,分析了本平台内存模块的优势:在满足功能和性能需求的前提下,安全性更高。本平台在UB 内存的算法实现上,采用了更安全的方式,即内存池、内存头、内存数据三级索引的方式,内存池和内存头放入到专门的内存区管理,避免了用户对内存数据操作越界而造成的破坏。另外,平台在内存控制块的互斥操作采用的是信号量机制,这些都进一步保证了平台的安全性。本文经过论述和测试表明平台的内存管理有更好的安全性、稳定性和可移植性。本嵌入式软件开发平台已在中兴通讯公司各事业部的多个项目中开始运行,如ADSL、CDMA 等,并已取得了良好的经济效益。
【Abstract】 Embedded system exist in many kinds of electronic devices. As the devices get more complex, embedded applications get more sophisticated. Application providers want their applications have portability across platforms, surviving from limitation of specific OS beneath. They also desire development platforms with end-industry-feature, providing low development cost. Industrial specific Embedded Software Development Platform can offer those capability to meet requirements in industry areas. Based on the analysis of the embedded system and embedded software development process and memory management, we researched the unitary requirement and particular requirement for memory management module of embedded software development platform. Then the infrastructure of communication industry oriented embedded software development platform had been described, and the design ideas of memory management module of embedded software development platform had been put up: kernel data section management, process stack and data section management , UB section management , high mapping address management and specific implementing code to realize the application, release, protection, leak detection, system information providing of memory. We had tested the memory module systematically to ensure the requirement of function, performance and stability of the platform had been met. Through comparing with memory module in similar platform, we arrive at a conclusion that our memory module has the advantage of higher safety on meeting the requirement of function and performance. We use safer methods to realize the UB memory algorithm: memory spool, memory head and three level index of memory data. Memory spool and memory head put into special memory section for management to avoid the damage originated from the user’s illegal operation to the memory data. Additionally, the mechanism applied in the memory control block of the platform and the mutex is signal mechanism, Such ensures the safety of the platform further. The demonstration and test in this thesis concluded that the memory module of the platform has the advantage of higher safety, stability and portability. The embedded software development platform had been put into practice in many projects in different departments of ZTE,such as ADSL and CDMA department, and had gained good commercial profit.
- 【网络出版投稿人】 电子科技大学 【网络出版年期】2005年 07期
- 【分类号】TP311.52
- 【被引频次】8
- 【下载频次】455