# OS_Set*ArenaLo

## C Specification

      #include <nitro/os.h>

      void OS_SetArenaLo( OSArenaId id, void* newLo );

      void OS_SetMainArenaLo( void* newLo );
      void OS_SetSubPrivArenaLo( void* newLo );
      void OS_SetMainExArenaLo( void* newLo );
      void OS_SetITCMArenaLo( void* newLo );
      void OS_SetDTCMArenaLo( void* newLo );
      void OS_SetSharedArenaLo( void* newLo );
      void OS_SetWramMainArenaLo( void* newLo );
      void OS_SetWramSubArenaLo( void* newLo );
      void OS_SetWramSubPrivArenaLo( void* newLo );

## Arguments

id | Arena ID
newLo | Address of the arena's lower boundary

## Return Values

None.

## Description

This function sets the arena's lower boundary. `id` specifies an arena using an arena ID. For details on arena ID see `OS_InitArena()`. For details on arena ID, see `OS_InitArena()`.

> (Example)
> `// Main Memory Arena Settings
> OS_SetArenaLo( OS_ARENA_MAIN, (void*)__bss_end__ );
> OS_SetArenaHi( OS_ARENA_MAIN, (void*)((u32)__bss_end__ + 0x3000) )`;

`OS_SetMainArenaLo` is the inline function for `OS_SetArenaLo( OS_ARENA_MAIN, ...` .
`OS_SetSubPrivArenaLo` is the inline function for `OS_SetArenaLo( OS_ARENA_MAIN_SUBPRIV, ...` .
`OS_SetMainExArenaLo` is the inline function for `OS_SetArenaLo( OS_ARENA_MAINEX, ...` .
`OS_SetITCMArenaLo` is the inline function for `OS_SetArenaLo( OS_ARENA_ITCM, ...` .
`OS_SetDTCMArenaLo` is the inline function for `OS_SetArenaLo( OS_ARENA_DTCM, ...` .
`OS_SetSharedArenaLo` is the inline function for `OS_SetArenaLo( OS_ARENA_SHARED, ...` .
`OS_SetWramMainArenaLo` is the inline function for `OS_SetArenaLo( OS_ARENA_WRAM_MAIN, ...` .
`OS_SetWramSubArenaLo` is the inline function for `OS_SetArenaLo( OS_ARENA_WRAM_SUB, ...` .
`OS_SetWramSubPrivArenaLo` is the inline function for `OS_SetArenaLo( OS_ARENA_WRAM_SUBPRIV, ...`

## See Also

`OS_InitArena, OS_SetArenaHi, OS_GetArenaLo
`

## Revision History

02/19/2004 Changed the number of arenas from 6 to 9
01/16/2004 Added MainEx
01/06/2004 Initial version