Memory Management (MEM)

Introduction

The Expanded Heap Manager

The Frame Heap Manager

The Unit Heap Manager

Functionality Common to the Different Heaps

Multi-Heap Management

Memory Allocator

Sample Demos

[Function List]

Shared Heap

MEMGetHeapStartAddress
MEMGetHeapEndAddress
MEMGetHeapTotalSize
MEMGetHeapTotalUsableSize
MEMFindContainHeap
MEMFindParentHeap
MEMDumpHeap
MEMSetFillValForHeap
MEMGetFillValForHeap
MEMGetHeapType

Expanded Heap

MEMCreateExpHeap
MEMCreateExpHeapEx
MEMDestroyExpHeap
MEMAllocFromExpHeap
MEMAllocFromExpHeapEx
MEMFreeToExpHeap
MEMResizeForMBlockExpHeap
MEMGetTotalFreeSizeForExpHeap
MEMGetAllocatableSizeForExpHeap
MEMGetAllocatableSizeForExpHeapEx
MEMSetAllocModeForExpHeap
MEMGetAllocModeForExpHeap
MEMUseMarginOfAlignmentForExpHeap
MEMSetGroupIDForExpHeap
MEMGetGroupIDForExpHeap
MEMGetSizeForMBlockExpHeap
MEMGetGroupIDForMBlockExpHeap
MEMGetAllocDirForMBlockExpHeap
MEMVisitAllocatedForExpHeap
MEMAdjustExpHeap
MEMCheckExpHeap
MEMCheckForMBlockExpHeap
MEMIsExpHeap

Frame Heap

MEMCreateFrmHeap
MEMCreateFrmHeapEx
MEMDestroyFrmHeap
MEMAllocFromFrmHeap
MEMAllocFromFrmHeapEx
MEMFreeToFrmHeap
MEMResizeForMBlockFrmHeap
MEMGetAllocatableSizeForFrmHeap
MEMGetAllocatableSizeForFrmHeapEx
MEMRecordStateForFrmHeap
MEMFreeByStateToFrmHeap
MEMAdjustFrmHeap
MEMIsFrmHeap

Unit Heap

MEMCreateUnitHeap
MEMCreateUnitHeapEx
MEMDestroyUnitHeap
MEMAllocFromUnitHeap
MEMFreeToUnitHeap
MEMCountFreeBlockForUnitHeap
MEMCalcHeapSizeForUnitHeap
MEMGetMemBlockSizeForUnitHeap
MEMIsUnitHeap

Memory Allocator

MEMInitAllocatorForExpHeap
MEMInitAllocatorForFrmHeap
MEMInitAllocatorForUnitHeap
MEMInitAllocatorForOSHeap
MEMAllocFromAllocator
MEMFreeToAllocator


CONFIDENTIAL