MI_GetWramMapStart*

Syntax

#include <twl/mi.h>

u32 MI_GetWramMapStart_A( void )
u32 MI_GetWramMapStart_B( void )
u32 MI_GetWramMapStart_C( void )

Arguments

None.

Return Values

Returns the lower-order address of the region where the WRAM is mapped to.

Description

Gets the lower-order address of the region where the specified WRAM region is mapped to.

MI_GetWramMapStart_A() gets information about WRAM-A.
MI_GetWramMapStart_B() gets information about WRAM-B.
MI_GetWramMapStart_C() gets information about WRAM-C.

The upper-order address is obtained using the MI_GetWramMapEnd* functions.

Internal Operation

On the ARM9, accesses I/O registers MBK6-MBK8.
On the ARM7, accesses the information stored in the ROM header.

See Also

Overview (Work RAM), MI-Related Constants
MI_GetWramMapEnd*()

Revision History

2007/08/22 Initial version.


CONFIDENTIAL