1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>MI_InitWramManager</title>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</head>
10<body>
11<h1 align="left">MI_InitWramManager <img src="../../image/TWL.gif" align="center"></h1>
12<h2>Syntax</h2>
13<dl>
14  <dd>
15<CODE>#include &lt;twl/mi.h&gt;</CODE><BR>
16  <BR>
17  <CODE>void MI_InitWramManager( void )</CODE><br>
18  </dd>
19</dl>
20<h2>Arguments</h2>
21<P>None.</P>
22<h2>Return Values</h2>
23<p>None.</p>
24<H2>Description</H2>
25<P>Initializes the WRAM manager for WRAM-A, WRAM-B, and WRAM-C.</P>
26<P>Call it as early as possible, before using WRAM-A, -B, or -C. This function is called from the <CODE><A href="../../os/init/OS_Init.html">OS_Init</A></CODE> function.</P>
27<P><FONT color="#ff0000">Immediately after initialization, all WRAM regions are reserved and allocated by the ARM9, ARM7, or DSP. </FONT>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.
28<h2>See Also</h2>
29<p><A href="about_Wram.html">Overview (Work RAM)</A></p>
30<H2>Revision History</H2>
31<P>2007/08/11 Initial version.</P>
32<hr><p>CONFIDENTIAL</p></body>
33</html>
34