MEMCreateFrmHeap

Syntax

#include <revolution/mem.h>

MEMHeapHandle MEMCreateFrmHeap(
                             void*  startAddress,
                             u32    size );

Arguments

startAddress Start address of the memory region to allocate to the heap
size Size in bytes of the memory region allocated to the heap

Return Values

Returns the heap handle when a heap was successfully created. Returns MEM_HEAP_INVALID_HANDLE (a null value) if a heap could not be created.

Description

Creates the frame heap. The heap region is a memory region with size size and a start address specified by startAddress.

See Also

MEMCreateFrmHeapEx

Revision History

2006/03/01 Initial version.


CONFIDENTIAL