#if defined(CORE4_IS_ASR)
#if defined(__PROC_TC39X__)
group Core4_RAM( ordered, run_addr = mem:mpe:dspr4 )
{
   /* lets pretend that currently there is no near */
   /* thus you won't need the stack safety gap */
   /* start with the stacks */
   group osAllStacksCore4(ordered, contiguous, fill, align=8)
   {
      #define OS_LINK_KERNEL_STACKS
      #include OS_LINK_CORE4_STACKS_LSL
   }
   "osEndOf_Core4Stack" = "_lc_ge_osAllStacksCore4";
   "osEndOf_Core4StackInAlias" = (("_lc_ge_osAllStacksCore4")&~0xF0000000)|0xD0000000;

   group osFarCore4(ordered, contiguous, fill, align=8)
   {
      /* Kernel Variables */
      group osFarKernelCore4
      {
         #define OS_LINK_VAR_KERNEL
         #include OS_LINK_CORE4_LSL
      }
      /* Kernel Barriers */
      group osBarriersFarOnCore4
      {
         #define OS_LINK_KERNEL_BARRIERS
         #include OS_LINK_CORE4_LSL
      }
      /* Kernel Corestatus */
      group osCoreStatusFarOnCore4
      {
         #define OS_LINK_KERNEL_CORESTATUS
         #include OS_LINK_CORE4_LSL
      }
  }
}
#else
  "osEndOf_Core4Stack" = 0x30000000;
#endif
#endif
