comparison src/cs/layer1/p_include/l1p_vare.h @ 0:92470e5d0b9e

src: partial import from FC Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 01:28:16 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92470e5d0b9e
1 /************* Revision Controle System Header *************
2 * GSM Layer 1 software
3 * L1P_VAREX.H
4 *
5 * Filename l1p_vare.h
6 * Copyright 2003 (C) Texas Instruments
7 *
8 ************* Revision Controle System Header *************/
9
10 #ifdef L1P_ASYN_C
11
12 #if (LONG_JUMP == 3)
13 #ifdef __GNUC__
14 #define SECTION_ATTR __attribute__ ((section (".l1s_global")))
15 #else
16 #define SECTION_ATTR
17 #pragma DATA_SECTION(l1ps,".l1s_global")
18 #pragma DATA_SECTION(l1pa_l1ps_com,".l1s_global")
19 #pragma DATA_SECTION(l1ps_macs_com,".l1s_global")
20 #pragma DATA_SECTION(l1ps_dsp_com,".l1s_global")
21 #endif
22 #else
23 #define SECTION_ATTR
24 #endif
25
26 // Global Packet L1A structure
27 T_L1PA_GLOBAL l1pa;
28
29 // Global Packet L1S structure
30 T_L1PS_GLOBAL l1ps SECTION_ATTR;
31
32 // Common structure between L1A and L1S in packet mode
33 T_L1PA_L1PS_COM l1pa_l1ps_com SECTION_ATTR;
34
35 // Communication between L1S and MAC-S in packet mode
36 T_L1PS_MACS_COM l1ps_macs_com SECTION_ATTR;
37
38 // MCU / DSP interface
39 T_L1PS_DSP_COM l1ps_dsp_com SECTION_ATTR;
40
41 #undef SECTION_ATTR
42
43 #else
44 extern T_L1PA_GLOBAL l1pa;
45 extern T_L1PS_GLOBAL l1ps;
46 extern T_L1PA_L1PS_COM l1pa_l1ps_com;
47 extern T_L1PS_DSP_COM l1ps_dsp_com;
48 extern T_L1PS_MACS_COM l1ps_macs_com;
49
50 #endif