comparison gsm-fw/g23m-gsm/l1/l1.h @ 673:2f7df7a314f8

gsm-fw/g23m-gsm subtree: initial import from LoCosto source
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 28 Sep 2014 23:20:04 +0000
parents
children
comparison
equal deleted inserted replaced
672:0dc6f9e8e980 673:2f7df7a314f8
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul :
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Definitions for the Protocol Stack Entity l1.
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef L1_H
22 #define L1_H
23
24 #ifdef TI_PS_HCOMM_CHANGE
25 #include "cl_hComm_handle.h"
26
27 #ifdef NEW_FRAME
28
29
30 #define hCommGRR l1_hCommGRR
31 #define hCommLLC l1_hCommLLC
32 #define hCommSNDCP l1_hCommSNDCP
33 #define hCommGMM l1_hCommGMM
34 #define hCommTOM l1_hCommTOM
35
36 #define L1_Handle l1_L1_Handle
37
38 /*jk: delete warnings #define VSI_CALLER L1_Handle, */
39
40 #ifdef L1_PEI_C
41
42 /* Communication handles */
43
44 #ifdef GPRS
45 T_HANDLE hCommGRR = VSI_ERROR;
46 T_HANDLE hCommLLC = VSI_ERROR;
47 T_HANDLE hCommSNDCP = VSI_ERROR;
48 T_HANDLE hCommGMM = VSI_ERROR;
49 T_HANDLE hCommTOM = VSI_ERROR;
50 #endif
51 T_HANDLE L1_Handle;
52
53 #else /* L1_PEI_C */
54
55 extern T_HANDLE hCommGRR;
56 extern T_HANDLE hCommLLC;
57 extern T_HANDLE hCommSNDCP;
58 extern T_HANDLE hCommGMM;
59 extern T_HANDLE hCommTOM;
60 extern T_HANDLE L1_Handle;
61
62 #endif /* L1_PEI_C */
63
64 #else /* NEW_FRAME */
65
66 #define PL_NAME "PL"
67 #define L1_NAME "L1"
68
69 #define VSI_CALLER L1_NAME,
70
71 #endif /* NEW_FRAME */
72 #else
73 #ifdef NEW_FRAME
74
75 #define hCommPL l1_hCommPL
76 #define hCommL1 l1_hCommL1
77 #define hCommGRR l1_hCommGRR
78 #define hCommLLC l1_hCommLLC
79 #define hCommSNDCP l1_hCommSNDCP
80 #define hCommGMM l1_hCommGMM
81 #define hCommTOM l1_hCommTOM
82 #define hCommACI l1_hCommACI
83 #define L1_Handle l1_L1_Handle
84
85 /*jk: delete warnings #define VSI_CALLER L1_Handle, */
86
87 #ifdef L1_PEI_C
88
89 /* Communication handles */
90 T_HANDLE hCommPL = VSI_ERROR;
91 T_HANDLE hCommACI = VSI_ERROR;
92 T_HANDLE hCommL1 = VSI_ERROR;
93 #ifdef GPRS
94 T_HANDLE hCommGRR = VSI_ERROR;
95 T_HANDLE hCommLLC = VSI_ERROR;
96 T_HANDLE hCommSNDCP = VSI_ERROR;
97 T_HANDLE hCommGMM = VSI_ERROR;
98 T_HANDLE hCommTOM = VSI_ERROR;
99 #endif
100 T_HANDLE L1_Handle;
101
102 #else /* L1_PEI_C */
103
104 extern T_HANDLE hCommPL;
105 extern T_HANDLE hCommACI;
106 extern T_HANDLE hCommL1;
107 extern T_HANDLE hCommGRR;
108 extern T_HANDLE hCommLLC;
109 extern T_HANDLE hCommSNDCP;
110 extern T_HANDLE hCommGMM;
111 extern T_HANDLE hCommTOM;
112 extern T_HANDLE L1_Handle;
113
114 #endif /* L1_PEI_C */
115
116 #else /* NEW_FRAME */
117
118 #define PL_NAME "PL"
119 #define L1_NAME "L1"
120
121 #define VSI_CALLER L1_NAME,
122
123 #ifdef L1_PEI_C
124
125 T_VSI_CHANDLE hCommPL = VSI_ERROR;
126 T_VSI_CHANDLE hCommL1 = VSI_ERROR;
127
128 #else /* L1_PEI_C */
129
130 extern T_VSI_CHANDLE hCommPL;
131 extern T_VSI_CHANDLE hCommL1;
132
133 #endif /* L1_PEI_C */
134
135 #endif /* NEW_FRAME */
136 #endif /* TI_PS_HCOMM_CHANGE */
137 #endif /* L1_H */