# MI_Init

## C Specification

  `#include <nitro/mi.h>`
  `void MI_Init( void );`

## Arguments

None.

## Return Values

None.

## Description

Performs MI-related initialization.

If this function is using `OS_Init()`, it will be called from there, so there is no need for the application to call it again. (For ARM9 only. This function is not called from `OS_Init()` on ARM7.)

Specifically, the following actions are performed:

> ARM9
> The shared WRAM is entirely allocated to ARM7.( (`MI_SetWramBank( MI_WRAM_ARM7_ALL )` )
> DMA0 is reliably initialized. This is done to prevent DMA hardware bugs.( (`MI_StopDma( 0 )` )

> ARM7
> DMA0 is reliably initialized. This is done to prevent DMA hardware bugs.( (`MI_StopDma( 0 )` )

## See Also

`MI_SetWramBank, MI_StopDma`

## Revision History

02/08/2005 Initial version.