FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/cdg/sap/mnlc.pdf @ 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 | a39ec5bb5549 |
children |
rev | line source |
---|---|
652
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 ;******************************************************************************** |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 ;*** File : mnlc.pdf |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 ;*** Creation : Wed Mar 11 09:58:25 CST 2009 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 ;******************************************************************************** |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 ;*** Document Type : Service Access Point Specification |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 ;*** Document Name : mnlc |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 ;*** Document No. : 8443.104.02.003 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 ;*** Document Date : 2002-10-25 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ;*** Document Status: SUBMITTED |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 ;*** Document Author: TML |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 ;******************************************************************************** |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:48:12 2007" |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 PRAGMA LAST_MODIFIED "2002-10-25" |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 PRAGMA ID_AND_VERSION "8443.104.02.003" |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 CONST L_MAX_CALLED_BCD_NO_LENGTH 10 ; Max Bcd number length (digits) |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 CONST CURSOR_SMS_TEXT_140 140 ; Position SMS Message |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 VALTAB VAL_data_valid |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 VAL 0 DATA_VALID "" |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 VAL 1 DATA_INVALID "" |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 VAR reference "Reference" S |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 VAR bcd "Bcd Number" B |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 VAR data_valid "Cursor Data Valid" B |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 VAL @p_mnlc - VAL_data_valid@ |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 VAR number_length "Number of decimal digits in the Bcd number" B |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 VAR sms_text "SMS text" B |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
53 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
54 COMP called_party_bcd_num "called Party Bcd number" |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
55 { |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
56 number_length ; Number Length |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 bcd [L_MAX_CALLED_BCD_NO_LENGTH] ; Bcd Number |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 } |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
59 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
60 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
61 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
62 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
63 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
64 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
65 ; MNLC_SMS_MEAS_REQ 0x80000044 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
66 ; MNLC_SMS_MEAS_CNF 0x80004044 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
67 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
68 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
69 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
70 PRIM MNLC_SMS_MEAS_REQ 0x80000044 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
71 { |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
72 reference ; Reference SMS request |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
73 called_party_bcd_num ; Called Bcd Number |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
74 } |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
75 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
76 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
77 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
78 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
79 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
80 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
81 PRIM MNLC_SMS_MEAS_CNF 0x80004044 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
82 { |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
83 reference ; Reference SMS request |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
84 data_valid ; Cursor Data Valid |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
85 sms_text [CURSOR_SMS_TEXT_140] ; Cursor SMS |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
86 } |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
87 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
88 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
89 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
90 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
91 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
92 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
93 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
94 |
a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
95 |