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>OS_Set*ArenaLo</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">OS_Set*ArenaLo <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/os.h&gt;</CODE></PRE>
16  <PRE><CODE>void OS_SetArenaLo( OSArenaId id, void* newLo );
17
18void OS_SetMainArenaLo( void* newLo );
19void OS_SetSubPrivArenaLo( void* newLo );
20void OS_SetMainExArenaLo( void* newLo );
21void OS_SetITCMArenaLo( void* newLo );
22void OS_SetDTCMArenaLo( void* newLo );
23void OS_SetSharedArenaLo( void* newLo );
24void OS_SetWramMainArenaLo( void* newLo );
25void OS_SetWramSubArenaLo( void* newLo );
26void OS_SetWramSubPrivArenaLo( void* newLo );
27</CODE></PRE>
28</DL>
29<H2>Arguments</H2>
30<TABLE border="1" width="100%">
31  <TBODY>
32    <TR>
33      <TD width="13%"><EM><STRONG>id</STRONG></EM></TD>
34      <TD width="87%">Arena ID</TD>
35    </TR>
36    <TR>
37      <TD><B><I>newLo</I></B></TD>
38      <TD>Address of the arena's lower boundary</TD>
39    </TR>
40  </TBODY>
41</TABLE>
42<H2>Return Values</H2>
43<P>None.</P>
44<H2>Description</H2>
45<P>This function sets the arena's lower boundary. <em><strong><code>id</code></strong></em> specifies an arena using an arena ID. For details on arena ID see <A href="OS_InitArena.html"><code>OS_InitArena()</code></A>. For details on arena ID, see <a  href="../arena/OS_InitArena.html"><code>OS_InitArena()</code></a>.</P>
46<BLOCKQUOTE>(Example)<br> <BR> <CODE>// Main Memory Arena Settings<BR> OS_SetArenaLo( OS_ARENA_MAIN, (void*)__bss_end__ );<BR> OS_SetArenaHi( OS_ARENA_MAIN, (void*)((u32)__bss_end__ + 0x3000) )</CODE>;</BLOCKQUOTE>
47<P><code>OS_SetMainArenaLo</code> is the inline function for <code>OS_SetArenaLo( OS_ARENA_MAIN, ... </code>.<br /> <code>OS_SetSubPrivArenaLo</code> is the inline function for <code>OS_SetArenaLo( OS_ARENA_MAIN_SUBPRIV, ... </code>.<br /> <code>OS_SetMainExArenaLo</code> is the inline function for <code>OS_SetArenaLo( OS_ARENA_MAINEX, ... </code>.<br /> <code>OS_SetITCMArenaLo</code> is the inline function for <code>OS_SetArenaLo( OS_ARENA_ITCM, ... </code>.<br /> <code>OS_SetDTCMArenaLo</code> is the inline function for <code>OS_SetArenaLo( OS_ARENA_DTCM, ... </code>.<br /> <code>OS_SetSharedArenaLo</code> is the inline function for <code>OS_SetArenaLo( OS_ARENA_SHARED, ... </code>.<br /> <code>OS_SetWramMainArenaLo</code> is the inline function for <code>OS_SetArenaLo( OS_ARENA_WRAM_MAIN, ... </code>.<br /> <code>OS_SetWramSubArenaLo</code> is the inline function for <code>OS_SetArenaLo( OS_ARENA_WRAM_SUB, ... </code>.<br /> <code>OS_SetWramSubPrivArenaLo</code> is the inline function for <code>OS_SetArenaLo( OS_ARENA_WRAM_SUBPRIV, ...</P>
48<H2>See Also</H2>
49<P><CODE><A href="OS_InitArena.html">OS_InitArena</A>, <A href="OS_SetArenaHi.html">OS_SetArenaHi</A>, <A href="OS_GetArenaLo.html">OS_GetArenaLo</A><BR></CODE></P>
50<H2>Revision History</H2>
51<P>2004/02/19 Changed the number of arenas from 6 to 9.<BR>2004/01/16 Added MainEx.<BR>2004/01/06 Initial version.</P>
52<hr><p>CONFIDENTIAL</p></body>
53</HTML>