FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/tm_include/l1tm_varex.h @ 923:10b4bed10192
gsm-fw/L1: fix for the DSP patch corruption bug
The L1 code we got from the LoCosto fw contains a feature for DSP CPU load
measurement. This feature is a LoCosto-ism, i.e., not applicable to earlier
DBB chips (Calypso) with their respective earlier DSP ROMs. Most of the
code dealing with that feature is conditionalized as #if (DSP >= 38),
but one spot was missed, and the MCU code was writing into an API word
dealing with this feature. In TCS211 this DSP API word happens to be
used by the DSP code patch, hence that write was corrupting the patched
DSP code.
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 19 Oct 2015 17:13:56 +0000 |
parents | 57ad8f4d5cb5 |
children |
rev | line source |
---|---|
519
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /************* Revision Controle System Header ************* |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 * GSM Layer 1 software |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 * L1TM_VAREX.H |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 * |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 * Filename l1tm_varex.h |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 * Copyright 2003 (C) Texas Instruments |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 * |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 ************* Revision Controle System Header *************/ |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 #ifdef L1TM_ASYNC_C //Defined in l1_tmode.c |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 #define TMVAR |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 #else |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 #define TMVAR extern |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 #endif |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 TMVAR T_L1TM_GLOBAL l1tm; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 |