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_Get*ArenaHi</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">OS_Get*ArenaHi <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 <nitro/os.h></CODE></PRE> 16 <PRE><CODE>void* OS_GetArenaHi( OSArenaId id ); 17 18void* OS_GetMainArenaHi( void ); 19void* OS_GetSubPrivArenaHi( void ); 20void* OS_GetMainExArenaHi( void ); 21void* OS_GetITCMArenaHi( void ); 22void* OS_GetDTCMArenaHi( void ); 23void* OS_GetSharedArenaHi( void ); 24void* OS_GetWramMainArenaHi( void ); 25void* OS_GetWramSubArenaHi( void ); 26void* OS_GetWramSubPrivArenaHi( void ); 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 </TBODY> 37</TABLE> 38<H2>Return Values</H2> 39<P>Returns the upper boundary address of the specified arena.</P> 40<H2>Description</H2> 41<P>Acquires the address of the upper boundary of the specified arena. <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> 42<P><code>OS_GetMainArenaHi</code> is the inline function for <code>OS_GetArenaHi( OS_ARENA_MAIN )</code>.<BR><code>OS_GetSubPrivArenaHi</code> is the inline function for <code>OS_GetArenaHi( OS_ARENA_MAIN_SUBPRIV )</code>.<BR><code>OS_GetMainExArenaHi</code> is the inline function for <code>OS_GetArenaHi( OS_ARENA_MAINEX )</code>.<BR><code>OS_GetITCMArenaHi</code> is the inline function for <code>OS_GetArenaHi( OS_ARENA_ITCM )</code>.<BR><code>OS_GetDTCMArenaHi</code> is the inline function for <code>OS_GetArenaHi( OS_ARENA_DTCM )</code>.<BR><code>OS_GetSharedArenaHi</code> is the inline function for <code>OS_GetArenaHi( OS_ARENA_SHARED )</code>.<BR><code>OS_GetWramMainArenaHi</code> is the inline function for <code>OS_GetArenaHi( OS_ARENA_WRAM_MAIN )</code>.<BR><code>OS_GetWramSubArenaHi</code> is the inline function for <code>OS_GetArenaHi( OS_ARENA_WRAM_SUB )</code><BR><code>OS_GetWramSubPrivArenaHi</code> is the inline function for <code>OS_GetArenaHi( OS_ARENA_WRAM_SUBPRIV )</code>.</P> 43<H2>See Also</H2> 44<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> 45<H2>Revision History</H2> 46<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> 47<hr><p>CONFIDENTIAL</p></body> 48</HTML>