nn::os::StackMemory::StackMemory Constructor
explicit StackMemory(
void * pMem,
size_t size
);
| Name | Description | |
|---|---|---|
| in | pMem | Pointer to the beginning of the memory region to partition. Must be 4096-byte aligned. |
| in | size | Size of memory region to partition. The size argument must be a multiple of 4096. |
Constructs an object and partitions a memory region.
Internally calls the Initialize function.
For this reason, this function can only partition memory allocated from the heap region. It cannot partition buffers allocated statically from the code region, and it cannot partition regions in device memory.
See Initialize for details.
CONFIDENTIAL