UnitHeapTemplate

nn::fnd::UnitHeapTemplate::UnitHeapTemplate Constructor

Syntax

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

Parameters

Name Description
in unit The size of the unit.
in addr The starting address of the memory used by the unit heap.
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).

Description

Constructor. Initializes the unit heap using the specified parameters.


CONFIDENTIAL