1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MI_Init</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_Init <img src="../../image/NTR.gif" align="middle"><img src="../../image/TWL.gif" align="middle"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/mi.h&gt;</CODE><BR> <BR> <CODE>void MI_Init( void );</CODE></dd>
20</dl>
21<h2>Arguments</h2>
22<P>None.</P>
23<h2>Return Values</h2>
24<p>None.</p>
25
26<H2>Description</H2>
27<P>Performs MI-related initialization.</P>
28<P>This function is called internally by the <CODE><A href="../../os/init/OS_Init.html">OS_Init</A></CODE> function, so there is no need for the application to call it again. (For ARM9 only. This function is not called from <A href="../../os/init/OS_Init.html"><CODE>OS_Init()</CODE></A> on ARM7.)</P>
29<P>Specifically, the following actions are performed: Items with the NITRO logo ( <IMG src="../../image/NTR.gif" align="middle"> ) show the behavior in NITRO mode, and items with the TWL logo ( <IMG src="../../image/TWL.gif" align="middle"> ) show the behavior in TWL mode.</P>
30<BLOCKQUOTE>
31<P><B>ARM9</B><BR> <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"> The shared WRAM (WRAM-0/1) is entirely allocated to ARM7.<BR>( <CODE><A href="../wram/MI_SetWramBank.html">MI_SetWramBank( MI_WRAM_ARM7_ALL )</A></CODE> )<BR> <IMG src="../../image/BPT.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"> Initializes the new DMA.<BR>( <CODE>MI_InitNDma()</CODE> )<BR> <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"> Reliably initializes DMA0. This is done as a workaround for DMA hardware bugs.<BR>( <CODE><A href="../dma/MI_StopDma.html">MI_StopDma( 0 )</A></CODE> )<BR> <BR> <BR> <BR> <B>ARM7</B> <BR> <IMG src="../../image/BPT.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle">  Initializes the new DMA.<BR>( <CODE>MI_InitNDma()</CODE> )<BR> <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"> Reliably initializes DMA0. This is done as a workaround for DMA hardware bugs.<BR>( (<CODE><A href="../dma/MI_StopDma.html">MI_StopDma( 0 )</A></CODE> )</P>
32</BLOCKQUOTE>
33<h2>See Also</h2>
34<p><CODE><A href="../wram/MI_SetWRAMBank.html">MI_SetWramBank</A><BR> <A href="../dma/MI_StopDma.html">MI_StopDma</A></CODE></p>
35
36<H2>Revision History</H2>
37<P>2009/05/19 Explained that this function is called internally by OS_Init.<BR> 2008/07/11 Added information about TWL. <BR>2005/02/08 Initial version.<BR></P>
38<hr><p>CONFIDENTIAL</p></body>
39</html>
40