FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/tm_cfile/l1tm_func.c @ 224:a576fb23046e
l1tm_func.c: passes compilation, link fails because of missing functions
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 14 Jan 2017 23:00:44 +0000 |
parents | f3a01488b437 |
children | d32a7e3ba63d |
comparison
equal
deleted
inserted
replaced
223:f3a01488b437 | 224:a576fb23046e |
---|---|
15 | 15 |
16 #include <string.h> | 16 #include <string.h> |
17 #include <math.h> | 17 #include <math.h> |
18 #include "abb.h" | 18 #include "abb.h" |
19 | 19 |
20 #include "general.h" | 20 #include "general.h" |
21 | 21 |
22 #include "l1_types.h" | 22 #include "l1_types.h" |
23 #include "sys_types.h" | 23 #include "sys_types.h" |
24 #include "l1_const.h" | 24 #include "l1_const.h" |
25 #include "l1_time.h" | 25 #include "l1_time.h" |
26 #include "l1_signa.h" | 26 #include "l1_signa.h" |
27 | 27 |
28 #include "l1tm_defty.h" | 28 #include "l1tm_defty.h" |
29 | 29 |
30 #if (CODE_VERSION != SIMULATION) | 30 #if 0 //(CODE_VERSION != SIMULATION) // LoCosto-ism |
31 #include "pld.h" | 31 #include "pld.h" |
32 #endif | 32 #endif |
33 | |
34 | 33 |
35 #if (TRACE_TYPE==1) || (TRACE_TYPE==4) || (TRACE_TYPE==7) || (TRACE_TYPE==0) | 34 #if (TRACE_TYPE==1) || (TRACE_TYPE==4) || (TRACE_TYPE==7) || (TRACE_TYPE==0) |
36 #include "rvt_gen.h" | 35 #include "rvt_gen.h" |
37 extern T_RVT_USER_ID tm_trace_user_id; | 36 extern T_RVT_USER_ID tm_trace_user_id; |
38 #endif | 37 #endif |
68 | 67 |
69 #if (RF_FAM == 61) | 68 #if (RF_FAM == 61) |
70 #include "tpudrv61.h" | 69 #include "tpudrv61.h" |
71 #include "l1_rf61.h" | 70 #include "l1_rf61.h" |
72 #include "l1tm_tpu61.h" | 71 #include "l1tm_tpu61.h" |
73 #if (DRP_FW_EXT==1) | 72 #if (DRP_FW_EXT==1) |
74 #include "l1_drp_inc.h" | 73 #include "l1_drp_inc.h" |
75 #else | 74 #else |
76 #include "drp_drive.h" | 75 #include "drp_drive.h" |
77 #endif | 76 #endif |
78 #endif | 77 #endif |
79 | 78 |
80 #if (RF_FAM == 60) | 79 #if (RF_FAM == 60) |
81 #include "tpudrv60.h" | 80 #include "tpudrv60.h" |
82 #include "l1_rf60.h" | 81 #include "l1_rf60.h" |
2412 value_unsigned_short = l1tm.tmode_stats.bsic; | 2411 value_unsigned_short = l1tm.tmode_stats.bsic; |
2413 memcpy(&tm_return->result[offset], (UWORD8 *) &value_unsigned_short, 2); | 2412 memcpy(&tm_return->result[offset], (UWORD8 *) &value_unsigned_short, 2); |
2414 offset+=2; | 2413 offset+=2; |
2415 } | 2414 } |
2416 | 2415 |
2417 #if L1_GPRS | 2416 /* |
2417 * FreeCalypso TCS211 reconstruction: suspected LoCosto-ism, | |
2418 * removing in order to pass compilation. | |
2419 */ | |
2420 #if 0 //L1_GPRS | |
2418 if (bitmask & BLER) | 2421 if (bitmask & BLER) |
2419 { | 2422 { |
2420 UWORD8 j; | 2423 UWORD8 j; |
2421 if (count) // non-zero | 2424 if (count) // non-zero |
2422 { | 2425 { |