MI_InitWramManager

Syntax

#include <twl/mi.h>

void MI_InitWramManager( void )

Arguments

None.

Return Values

None.

Description

Initializes the WRAM manager for WRAM-A, WRAM-B, and WRAM-C.

Call it as early as possible, before using WRAM-A, -B, or -C. This function is called from the OS_Init function.

Immediately after initialization, all WRAM regions are reserved and allocated by the ARM9, ARM7, or DSP. This reflects the information in the registers that configure the WRAM. The hardware is designed so that each WRAM slot in the register is always owned by something. Immediately after initialization, therefore, it is not possible to determine whether a WRAM slot has not been allocated. Free the slots or cancel the reservations if necessary.

See Also

Overview (Work RAM)

Revision History

2007/08/11 Initial version.


CONFIDENTIAL