nn::fnd::UnitHeapTemplate::Initialize Member Function

Syntax

void Initialize(
     size_t unit,
     uptr addr,
     size_t size,
     s32 alignment = DEFAULT_ALIGNMENT,
     bit32 option = 0
);

Arguments

Name Description
in unit The size of the unit
in addr The starting address of the memory used by the unit heap This address must be aligned to the value specified by the alignment argument.
in size The size of the memory used by the unit heap
in alignment The alignment of the unit
in option Specifies the options (not yet implemented)

Return Values

None.

Description

Initializes the unit heap using the specified parameters. It is used for objects that were created using the non-initializing constructor.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL