nn::os::StackMemory::Initialize Member Function

Syntax

void Initialize(
     void * pMem,
     size_t size
);

Arguments

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.

Return Values

None.

Description

Partitions a memory region.

Remaps the memory region specified in the arguments to a different address allocated with 4 KB of unmapped memory before and after. The specified address range cannot be accessed until Finalize is called. Call MemoryBlockBase::GetAddress to get a new map address.

Revision History

2010/08/18
Initial version.

CONFIDENTIAL