NNS_FndCreateFrmHeap

Syntax

#include <nnsys/fnd.h>
NNSFndHeapHandle NNS_FndCreateFrmHeap(void* startAddress, u32 size);

Arguments

startAddress Starting address of the memory region allocated to the heap.
size Size (in bytes) of the memory region allocated to the heap.

Return Values

In the case that it was possible to create a heap, the handle to the heap will be returned. If the function fails, it returns NNS_FND_HEAP_INVALID_HANDLE (a NULL value).

Description

Creates the frame heap. The region for the heap is a memory region of a size designated by heapSize from the address designated with startAddress.

See Also

NNS_FndCreateFrmHeapEx

Revision History

2004/04/28 The value for when a heap could not be created was incorrect. This has been fixed.
2004/04/01 Initial version.


CONFIDENTIAL