#include <nnsys/fnd.h>
void* NNS_FndAllocFromFrmHeapEx(
NNSFndHeapHandle heap,
u32 size,
int alignment);
| heap | Frame heap handle. |
| size | Memory block size (in bytes) |
| alignment | Memory block alignment. Can take any of the following values: 4, 8, 16 , 32, -4, -8, -16, -32. |
When the memory block has been allocated, it returns the starting address of that memory block. When the memory cannot be allocated, NULL is returned.
Allocates the memory block from a frame heap.
The alignment of the memory block is determined by alignment. If the alignment value is negative, the memory block will be allocated from the back of the heap's empty region.
NNS_FndAllocFromFrmHeap, NNS_FndFreeToFrmHeap, NNS_FndCreateFrmHeap, NNS_FndCreateFrmHeapEx
2004/04/01 Initial version.
CONFIDENTIAL