annotate src/cs/layer1/p_include/l1p_vare.h @ 62:4f7c9a66f347

src/g23m-gsm/cc/cc_csf.c: include case fix
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Jul 2018 23:31:42 +0000
parents d2074d1102e0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /************* Revision Controle System Header *************
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * GSM Layer 1 software
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * L1P_VAREX.H
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 *
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 * Filename l1p_vare.h
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 * Copyright 2003 (C) Texas Instruments
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 *
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ************* Revision Controle System Header *************/
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 #ifdef L1P_ASYN_C
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 #if (LONG_JUMP == 3)
47
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
13 #ifdef __GNUC__
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
14 #define SECTION_ATTR __attribute__ ((section (".l1s_global")))
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
15 #else
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
16 #define SECTION_ATTR
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
17 #pragma DATA_SECTION(l1ps,".l1s_global")
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
18 #pragma DATA_SECTION(l1pa_l1ps_com,".l1s_global")
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
19 #pragma DATA_SECTION(l1ps_macs_com,".l1s_global")
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
20 #pragma DATA_SECTION(l1ps_dsp_com,".l1s_global")
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
21 #endif
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
22 #else
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
23 #define SECTION_ATTR
0
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 #endif
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 // Global Packet L1A structure
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 T_L1PA_GLOBAL l1pa;
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 // Global Packet L1S structure
47
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
30 T_L1PS_GLOBAL l1ps SECTION_ATTR;
0
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 // Common structure between L1A and L1S in packet mode
47
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
33 T_L1PA_L1PS_COM l1pa_l1ps_com SECTION_ATTR;
0
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 // Communication between L1S and MAC-S in packet mode
47
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
36 T_L1PS_MACS_COM l1ps_macs_com SECTION_ATTR;
0
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 // MCU / DSP interface
47
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
39 T_L1PS_DSP_COM l1ps_dsp_com SECTION_ATTR;
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
40
d2074d1102e0 L1 data section placement: support both TMS470 and gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
41 #undef SECTION_ATTR
0
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 #else
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 extern T_L1PA_GLOBAL l1pa;
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 extern T_L1PS_GLOBAL l1ps;
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 extern T_L1PA_L1PS_COM l1pa_l1ps_com;
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 extern T_L1PS_DSP_COM l1ps_dsp_com;
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 extern T_L1PS_MACS_COM l1ps_macs_com;
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49
b6a5e36de839 src/cs: initial import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 #endif