nn::os::StackMemory::Initialize Member Function
void Initialize(
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. |
Partitions a memory region.
The function internally calls TryInitialize, and if that process fails the function stops the program. (In the retail product environment, this is handled as a fatal error.)
TryInitialize.CONFIDENTIAL