/* hydra.cmd -- DSP linker command file */

/* SPECIFY THE SYSTEM MEMORY MAP */

MEMORY
{
   L_RSVD:   org = 0x040000000      len = 0x00001200
   L_SRAM:   org = 0x040001200      len = 0x0000ee00
   L_HEAP:   org = 0x040010000      len = 0x00030000
   SHARED:   org = 0x08d000000      len = 0x000fdf80
   G_JTAG:   org = 0x081040000      len = 0x00000100
   G_RSVD:   org = 0x0c0000000      len = 0x00004000
   G_BEAP:   org = 0x0c0004000      len = 0x00009000 
   G_SRAM:   org = 0x0c000d000      len = 0x00003000
   RAMBLK0:  org = 0x0002ff800      len = 0x00000400     /* RAM BLOCK 0 */
   RAMBLK1:  org = 0x0002ffc00      len = 0x00000400     /* RAM BLOCK 1 */
}

/* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY */

SECTIONS
{
   .text:   {__LOCAL_SRAM = .;} > L_SRAM		/* CODE */
   .bss:    {} > G_SRAM							/* GLOBAL & STATIC VARS (SEE NOTE 2)*/
   .data:   {} > G_SRAM
   .const:  {} > G_SRAM 
   .stack:  {} > RAMBLK0						/* SYSTEM STACK */
   .cinit:  {} > SHARED							/* let thee be overwritten, we careest not */
   heap:    {__LOCAL_HEAP = .;} > L_HEAP        /* coops memory pile */
   beap:    {__LOCAL_BEAP = .;} > G_BEAP        /* coops beap pile */
   share:   {__SHARED_MEM = .;} > SHARED        /* Start of Shared Memory */

}
