#if defined(CORE1_IS_ASR)
#if defined(__PROC_TC29X__) || defined(__PROC_TC27X__) || defined(__PROC_TC26X__) || defined(__PROC_TC39X__)

group Core1_RAM( ordered, run_addr = mem:mpe:dspr1 )
{
   /* lets pretend that currently there is no near */
   /* thus you won't need the stack safety gap */
   /* start with the stacks */
   group osAllStacksCore1(ordered, contiguous, fill, align=8)
   {
      #define OS_LINK_KERNEL_STACKS
      #include OS_LINK_CORE1_STACKS_LSL
   }
   "osEndOf_Core1Stack" = "_lc_ge_osAllStacksCore1";
   "osEndOf_Core1StackInAlias" = (("_lc_ge_osAllStacksCore1")&~0xF0000000)|0xD0000000;

   group osFarCore1(ordered, contiguous, fill, align=8)
   {
      /* Kernel Variables */
      group osFarKernelCore1
      {
         #define OS_LINK_VAR_KERNEL
         #include OS_LINK_CORE1_LSL
      }
      /* Kernel Barriers */
      group osBarriersFarOnCore1
      {
         #define OS_LINK_KERNEL_BARRIERS
         #include OS_LINK_CORE1_LSL
      }
      /* Kernel Corestatus */
      group osCoreStatusFarOnCore1
      {
         #define OS_LINK_KERNEL_CORESTATUS
         #include OS_LINK_CORE1_LSL
      }
      
      /* Application private */
          #define OS_LINK_VAR_APP_SYSTEMAPPLICATION_OSCORE1
      #define OS_LINK_VAR_APP_APPLICATION2_CORE1
      #include OS_LINK_CORE1_LSL
      
      /*----------------------------------------------------------------------------------------------*/
      /* aggregate all variables of Application1_Core1 --------------------------------------------*/
      /*----------------------------------------------------------------------------------------------*/
      group Group_Application1_Core1_All
      {
         group Group_Application1_Core1(ordered, contiguous, fill, align=8)
         {
            #define OS_LINK_VAR_APP_APPLICATION1_CORE1
            #include OS_LINK_CORE1_LSL
         }
         #define OS_LINK_VAR_ISR_ISR1_CAT2_CORE1_LEVEL1LOW
         #define OS_LINK_VAR_TASK_TASK1_CORE1_EXTENDED_FULL_PRIO2_MAXACT1
         #define OS_LINK_VAR_TASK_TASK_MAIN_CORE1
         #include OS_LINK_CORE1_LSL
      }    
      "osBeginOf_Group_Application1_Core1" =     "_lc_gb_Group_Application1_Core1";
      "osEndOf_Group_Application1_Core1" =       "_lc_ge_Group_Application1_Core1";
      "osBeginOf_Group_Application1_Core1_All" = "_lc_gb_Group_Application1_Core1_All";
      "osEndOf_Group_Application1_Core1_All" =   "_lc_ge_Group_Application1_Core1_All";
      /*----------------------------------------------------------------------------------------------*/

      
      /* Task private */
      #define OS_LINK_VAR_TASK_IDLETASK_OSCORE1
      /* ISR private */
      #define OS_LINK_VAR_ISR_XSIGNALISR_OSCORE1
      #include OS_LINK_CORE1_LSL
   }
}
#else
  "osEndOf_Core1Stack" = 0x60000000;
#endif
#endif
