comparison gsm-fw/L1/include/l1_varex.h @ 545:cc584a357886

gsm-fw/L1/include/l1_varex.h: section pragmas changed to gcc attributes
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 03 Aug 2014 06:29:53 +0000
parents 25a7fe25864c
children
comparison
equal deleted inserted replaced
544:96a96ec34139 545:cc584a357886
7 * 7 *
8 ************* Revision Controle System Header *************/ 8 ************* Revision Controle System Header *************/
9 9
10 #ifdef L1_ASYNC_C 10 #ifdef L1_ASYNC_C
11 11
12 #if (LONG_JUMP == 3) 12 T_L1S_GLOBAL l1s __attribute__ ((section (".l1s_global")));
13 #pragma DATA_SECTION(l1s,".l1s_global")
14 #pragma DATA_SECTION(l1s_dsp_com,".l1s_global")
15 #pragma DATA_SECTION(l1a_l1s_com,".l1s_global")
16 #pragma DATA_SECTION(l1s_tpu_com,".l1s_global")
17 #pragma DATA_SECTION(l1_config,".l1s_global")
18 #if (L1_MP3 == 1) || (L1_MIDI == 1) || (L1_AAC == 1) || (FF_L1_IT_DSP_USF == 1) || (FF_L1_IT_DSP_DTX == 1) || (L1_DYN_DSP_DWNLD == 1) // equivalent to an API_HISR flag
19 #pragma DATA_SECTION(l1a_apihisr_com,".l1s_global")
20 #endif
21 #if (L1_MP3 == 1) || (L1_MIDI == 1) || (L1_DYN_DSP_DWNLD == 1) ||(L1_AAC == 1) // equivalent to an API_HISR flag
22 #pragma DATA_SECTION(l1_apihisr,".l1s_global")
23 #endif
24 #if (L1_MIDI == 1)
25 #pragma DATA_SECTION(midiparser_apihisr_com,".l1s_global")
26 #endif
27 #endif
28
29 T_L1S_GLOBAL l1s;
30 T_L1A_GLOBAL l1a; 13 T_L1A_GLOBAL l1a;
31 14
32 T_L1A_L1S_COM l1a_l1s_com; 15 T_L1A_L1S_COM l1a_l1s_com __attribute__ ((section (".l1s_global")));
33 T_L1S_DSP_COM l1s_dsp_com; 16 T_L1S_DSP_COM l1s_dsp_com __attribute__ ((section (".l1s_global")));
34 T_L1S_TPU_COM l1s_tpu_com; 17 T_L1S_TPU_COM l1s_tpu_com __attribute__ ((section (".l1s_global")));
35 #if (L1_MP3 == 1) || (L1_MIDI == 1 || (L1_AAC == 1) || (FF_L1_IT_DSP_USF == 1) || (FF_L1_IT_DSP_DTX == 1) || (L1_DYN_DSP_DWNLD == 1)) // equivalent to an API_HISR flag 18 #if (L1_MP3 == 1) || (L1_MIDI == 1 || (L1_AAC == 1) || (FF_L1_IT_DSP_USF == 1) || (FF_L1_IT_DSP_DTX == 1) || (L1_DYN_DSP_DWNLD == 1)) // equivalent to an API_HISR flag
36 T_L1A_API_HISR_COM l1a_apihisr_com; 19 T_L1A_API_HISR_COM l1a_apihisr_com __attribute__ ((section (".l1s_global")));
37 #endif 20 #endif
38 #if (L1_MP3 == 1) || (L1_MIDI == 1) || (L1_AAC == 1) || (L1_DYN_DSP_DWNLD == 1) 21 #if (L1_MP3 == 1) || (L1_MIDI == 1) || (L1_AAC == 1) || (L1_DYN_DSP_DWNLD == 1)
39 T_L1_API_HISR l1_apihisr; 22 T_L1_API_HISR l1_apihisr __attribute__ ((section (".l1s_global")));
40 #endif 23 #endif
41 #if (L1_MIDI == 1) 24 #if (L1_MIDI == 1)
42 T_MIDIPARSER_APIHISR_COM midiparser_apihisr_com; 25 T_MIDIPARSER_APIHISR_COM midiparser_apihisr_com
26 __attribute__ ((section (".l1s_global")));
43 #endif 27 #endif
44 28
45 // variables for L1 configuration 29 // variables for L1 configuration
46 T_L1_CONFIG l1_config; 30 T_L1_CONFIG l1_config __attribute__ ((section (".l1s_global")));
47 #else 31 #else
48 extern T_L1S_GLOBAL l1s; 32 extern T_L1S_GLOBAL l1s;
49 extern T_L1A_GLOBAL l1a; 33 extern T_L1A_GLOBAL l1a;
50 34
51 extern T_L1A_L1S_COM l1a_l1s_com; 35 extern T_L1A_L1S_COM l1a_l1s_com;