首页>
外国专利>
DYNAMIC MEMORY MANAGING METHOF IN EMBEDDED SYSTEM
DYNAMIC MEMORY MANAGING METHOF IN EMBEDDED SYSTEM
展开▼
机译:嵌入式系统中的动态内存管理方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
PURPOSE: A dynamic memory management method in an embedded system performs assignment and release of a stack memory at block level, thereby providing a reliable operation environment for a system which is composed of S/W only in an embedded system with limited H/W. CONSTITUTION: The size of a stack box for each of functions and interrupt subroutines is calculated. When a function is called, bits in a memory map corresponding to the size of a stack box for the function are searched in a sequential manner and the consecutive blocks within a data memory are allocated to the stack box of the function. Information about the allocated stack box is stored. When the execution of the function is completed, blocks corresponding to the allocated stack box are returned using the stored information and the routine is restored to the point of the function call. [Reference numerals] (10) Memory map; (100) Data memory; (AA) Heap memory and stack memory; (BB) SB for ISR; (CC) Block
展开▼