nw::demo::Alloc Function

Syntax

void * Alloc(
     size_t size,
     u8 alignment = 4
);

Arguments

Name Description
in size Memory size to be allocated.
in alignment The alignment of memory to be allocated.

Return Values

The memory address that was allocated.

Description

Allocates memory from main memory.


CONFIDENTIAL