iLLD_TC29x  1.0
CompilerGnuc.h File Reference
#include <stddef.h>

Go to the source code of this file.

Macros

#define IFXCOMPILER_COMMON_LINKER_SYMBOLS()
 
#define IFXCOMPILER_CORE_LINKER_SYMBOLS(cpu)
 
#define __USTACK(cpu)   __USTACK##cpu
 
#define __ISTACK(cpu)   __ISTACK##cpu
 
#define __INTTAB_CPU(cpu)   __INTTAB_CPU##cpu
 
#define __TRAPTAB_CPU(cpu)   __TRAPTAB_CPU##cpu
 
#define __CSA(cpu)   __CSA##cpu
 
#define __CSA_END(cpu)   __CSA##cpu##_END
 
#define __INTTAB(cpu)   __INTTAB_CPU##cpu
 
#define __TRAPTAB(cpu)   __TRAPTAB_CPU##cpu
 
#define __SDATA1(cpu)   __A0_MEM
 
#define __SDATA2(cpu)   __A1_MEM
 
#define __SDATA3(cpu)   __A8_MEM
 
#define __SDATA4(cpu)   __A9_MEM
 
#define IFX_INLINE   static inline __attribute__ ((always_inline)) /*Makes the function always inlined */
 
#define IFX_PACKED   __attribute__ ((packed))
 
#define COMPILER_NAME   "GNUC"
 
#define COMPILER_VERSION   __VERSION__
 
#define COMPILER_REVISION   0
 
#define IFX_INTERRUPT_FAST   IFX_INTERRUPT
 
#define IFX_INTERRUPT(isr, vectabNum, prio)   IFX_INTERRUPT_INTERNAL(isr, vectabNum, prio)
 
#define IFX_INTERRUPT_INTERNAL(isr, vectabNum, prio)
 
#define IFX_ALIGN(n)   __attribute__ ((aligned(n)))
 
#define IFX_FAR_ABS   __attribute__((fardata))
 
#define IFX_NEAR_ABS
 
#define IFX_REL_A0
 
#define IFX_REL_A1
 
#define IFX_REL_A9
 

Detailed Description

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file CompilerGnuc.h.

Macro Definition Documentation

#define __CSA (   cpu)    __CSA##cpu

Definition at line 70 of file CompilerGnuc.h.

#define __CSA_END (   cpu)    __CSA##cpu##_END

Definition at line 71 of file CompilerGnuc.h.

#define __INTTAB (   cpu)    __INTTAB_CPU##cpu

Definition at line 77 of file CompilerGnuc.h.

#define __INTTAB_CPU (   cpu)    __INTTAB_CPU##cpu

Definition at line 68 of file CompilerGnuc.h.

#define __ISTACK (   cpu)    __ISTACK##cpu

Definition at line 67 of file CompilerGnuc.h.

#define __SDATA1 (   cpu)    __A0_MEM

Definition at line 82 of file CompilerGnuc.h.

#define __SDATA2 (   cpu)    __A1_MEM

Definition at line 83 of file CompilerGnuc.h.

#define __SDATA3 (   cpu)    __A8_MEM

Definition at line 84 of file CompilerGnuc.h.

#define __SDATA4 (   cpu)    __A9_MEM

Definition at line 85 of file CompilerGnuc.h.

#define __TRAPTAB (   cpu)    __TRAPTAB_CPU##cpu

Definition at line 80 of file CompilerGnuc.h.

#define __TRAPTAB_CPU (   cpu)    __TRAPTAB_CPU##cpu

Definition at line 69 of file CompilerGnuc.h.

#define __USTACK (   cpu)    __USTACK##cpu

Definition at line 66 of file CompilerGnuc.h.

#define COMPILER_NAME   "GNUC"

Definition at line 93 of file CompilerGnuc.h.

#define COMPILER_REVISION   0

Definition at line 96 of file CompilerGnuc.h.

#define COMPILER_VERSION   __VERSION__

Definition at line 94 of file CompilerGnuc.h.

#define IFX_ALIGN (   n)    __attribute__ ((aligned(n)))

Definition at line 144 of file CompilerGnuc.h.

#define IFX_FAR_ABS   __attribute__((fardata))

Definition at line 149 of file CompilerGnuc.h.

#define IFX_INLINE   static inline __attribute__ ((always_inline)) /*Makes the function always inlined */

Definition at line 90 of file CompilerGnuc.h.

#define IFX_INTERRUPT (   isr,
  vectabNum,
  prio 
)    IFX_INTERRUPT_INTERNAL(isr, vectabNum, prio)

Definition at line 109 of file CompilerGnuc.h.

#define IFX_INTERRUPT_FAST   IFX_INTERRUPT

Definition at line 98 of file CompilerGnuc.h.

#define IFX_INTERRUPT_INTERNAL (   isr,
  vectabNum,
  prio 
)
Value:
__asm__ (".ifndef .intr.entry.include \n"\
".altmacro \n"\
".macro .int_entry.2 intEntryLabel, name # define the section and inttab entry code \n"\
" .pushsection .\\intEntryLabel,\"ax\",@progbits \n"\
" __\\intEntryLabel : \n"\
" svlcx \n"\
" movh.a %a14, hi:\\name \n"\
" lea %a14, [%a14]lo:\\name \n"\
" ji %a14 \n"\
" .popsection \n"\
".endm \n"\
".macro .int_entry.1 prio,vectabNum,u,name \n"\
".int_entry.2 intvec_tc\\vectabNum\\u\\prio,(name) # build the unique name \n"\
".endm \n"\
" \n"\
".macro .intr.entry name,vectabNum,prio \n"\
".int_entry.1 %(prio),%(vectabNum),_,name # evaluate the priority and the cpu number \n"\
".endm \n"\
".intr.entry.include: \n"\
".endif \n"\
".intr.entry "#isr","#vectabNum","#prio );\
IFX_EXTERN void __attribute__ ((interrupt_handler)) isr(); \
void isr (void)

Definition at line 114 of file CompilerGnuc.h.

#define IFX_NEAR_ABS

Definition at line 153 of file CompilerGnuc.h.

#define IFX_PACKED   __attribute__ ((packed))

Definition at line 91 of file CompilerGnuc.h.

#define IFX_REL_A0

Definition at line 157 of file CompilerGnuc.h.

#define IFX_REL_A1

Definition at line 161 of file CompilerGnuc.h.

#define IFX_REL_A9

Definition at line 169 of file CompilerGnuc.h.

#define IFXCOMPILER_COMMON_LINKER_SYMBOLS ( )
Value:
extern unsigned int __A0_MEM[]; /**< center of A0 addressable area */ \
extern unsigned int __A1_MEM[]; /**< center of A1 addressable area */ \
extern unsigned int __A8_MEM[]; /**< center of A8 addressable area */ \
extern unsigned int __A9_MEM[];

center of A9 addressable area

Definition at line 37 of file CompilerGnuc.h.

#define IFXCOMPILER_CORE_LINKER_SYMBOLS (   cpu)
Value:
extern unsigned int __USTACK##cpu[]; /**< user stack end */ \
extern unsigned int __ISTACK##cpu[]; /**< interrupt stack end */ \
extern unsigned int __INTTAB_CPU##cpu[]; /**< Interrupt vector table */ \
extern unsigned int __TRAPTAB_CPU##cpu[]; /**< trap table */ \
extern unsigned int __CSA##cpu[]; /**< context save area 1 begin */ \
extern unsigned int __CSA##cpu##_END[];

context save area 1 begin

Definition at line 52 of file CompilerGnuc.h.