AnsweredAssumed Answered

214xx_hdr and int_vector_code_214xx from lib\src\crt_src vs app_IVT.s and app_startup.s from add-ins

Question asked by bookevg on Feb 17, 2013
Latest reply on Feb 21, 2013 by StuartS

I don't want to use the add-ins "Startup Code/LDF".

But I compare files 214xx_hdr and int_vector_code_214xx from lib\src\crt_src vs app_IVT.s and app_startup.s from add-ins.

I see that the code is equal, but the preprocessor info and comment are different.

For example,

app_IVT.s

.FILE_ATTR libGroup="startup";

.FILE_ATTR libName="libc";

 

 

#include <sys/anomaly_macros_rtl.h> // defines silicon anomaly macros

#include <interrupt.h>              // defines interrupt support

#include <platform_include.h>       // defines MMR macros

#include <adi_osal.h>               // OSAL support

#include <sys/fatal_error_code.h>   // defines fata error support

 

 

/* STS is automatically pushed for IRQ, Timer and VIRPTL interrupts */

#define INT_IRQ(irp)                       \

 

int_vector_code_214xx

#if defined(__DOCUMENTATION__)

 

 

   Description:

 

 

      This file contains the interrupt vector codes for the ADSP-214xx

      family of parts.

 

 

*****************************************************************************

#endif

      

#if !defined(__NO_LIBRARY_ATTRIBUTES__)   

.FILE_ATTR libGroup="interrupt.h";

.FILE_ATTR libName="libc";

#endif

 

 

#if !defined(__214xx__)

# error This source file is only suitable for ADSP-214xx parts.

#endif

 

 

#include <interrupt.h>

 

 

.EXTERN ___lib_start;

 

 

/* STS is automatically pushed for IRQ and Timer interrupts */

#define INT_IRQ(irp)                       \

 

So I want to know:

Is or will the essential difference between 214xx_hdr and int_vector_code_214xx from lib\src\crt_src vs app_IVT.s and app_startup.s from add-ins exist?

Outcomes