nn::os::MemoryBlock::Initialize Member Function

Syntax

#include <nn/os.h>
void Initialize(
     size_t size
);

Arguments

Name Description
in size The size argument for the amount of memory to allocate must be a multiple of 4096.

Return Values

None.

Description

Allocates memory.

Allocates size bytes of unused memory from the region specified by InitializeMemoryBlock.

If size is not a multiple of 4096 the value will be rounded up automatically internally, but try if at all possible to specify a size that is a multiple of 4096.

Revision History

2011/06/22
Added a note about the size.
2010/01/07
Initial version.

CONFIDENTIAL