/*---------------------------------------------------------------------------*
  Project:  NitroSDK - include -
  File:     section.h

  Copyright 2003-2006 Nintendo.  All rights reserved.

  These coded instructions, statements, and computer programs contain
  proprietary information of Nintendo of America Inc. and/or Nintendo
  Company Ltd., and are protected by Federal copyright law.  They may
  not be disclosed to third parties or copied or duplicated in any form,
  in whole or in part, without the prior written consent of Nintendo.

  $Log: section.h,v $
  Revision 1.4  04/06/2006 09:04:07  kitase_hirotake
  support for .itcm.bss .dtcm.bss wram.bss

  Revision 1.3  01/18/2006 02:12:28  kitase_hirotake
  do-indent

  Revision 1.2  10/19/2005 07:49:05  okubata_ryoma
  Corrected method of coding parameters for #pragma difine_section.

  Revision 1.1  07/11/2005 04:59:45  yada
  initial release

  $NoKeywords: $
 *---------------------------------------------------------------------------*/
#ifndef NITRO_SECTION_H_
#define NITRO_SECTION_H_

#ifdef __cplusplus
extern "C" {
#endif


//--------------------------------------------------------------------------------
//       section definition for LCF
#if     defined(SDK_CW) || defined(__MWERKS__)
#ifdef SDK_ARM9
#pragma define_section ITCM ".itcm" ".itcm.bss" abs32 RWX
#pragma define_section DTCM ".dtcm" ".dtcm.bss" abs32 RWX
#else
#pragma define_section WRAM ".wram" ".wram.bss" abs32 RWX
#endif
#pragma define_section PARENT ".parent" abs32 RWX
#pragma define_section VERSION ".version" abs32 RWX
#elif   defined(SDK_PRODG)
// nothing to do
#elif	defined(SDK_ADS)
TO BE   DEFINED
#elif	defined(SDK_GCC)
TO BE   DEFINED
#endif
#ifdef __cplusplus
} /* extern "C"*/
#endif
/* NITRO_SECTION_H_*/
#endif
