FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/cdg/sap-inline/DIO_inline.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 | 31d82d090499 |
children |
rev | line source |
---|---|
653
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /*** |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 ;******************************************************************************** |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 ;*** File : DIO_inline.h |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 ;*** Creation : Wed Mar 11 09:57:46 CST 2009 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 ;******************************************************************************** |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 ;*** Document Type : Service Access Point Specification |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 ;*** Document Name : DIO |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 ;*** Document No. : ... |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ;*** Document Date : 2004-03-19 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 ;*** Document Status: BEING_PROCESSED |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 ;*** Document Author: RM |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 ;******************************************************************************** |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 ;*** !!! THIS INCLUDE FILE WAS GENERATED AUTOMATICALLY, DO NOT MODIFY !!! |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 ;******************************************************************************** |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 ***/ |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 #ifndef _DIO_INLINE_H_ |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 #define _DIO_INLINE_H_ |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 #include "gdi.h" |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 extern U16 dio_init ( void ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 extern U16 dio_user_init ( U32 user_name, U16 drv_handle, T_DRV_CB_FUNC signal_callback ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 extern U16 dio_user_exit ( U32 user_name ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 extern void dio_exit ( void ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 extern U16 dio_set_rx_buffer ( U32 device, T_dio_buffer *buffer ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 extern U16 dio_read ( U32 device, T_DIO_CTRL *control_info, T_dio_buffer **buffer ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 extern U16 dio_write ( U32 device, T_DIO_CTRL *control_info, T_dio_buffer *buffer ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 extern U16 dio_get_tx_buffer ( U32 device, T_dio_buffer **buffer ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 extern U16 dio_clear ( U32 device ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 extern U16 dio_flush ( U32 device ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 extern U16 dio_get_capabilities ( U32 device, T_DIO_CAP **capabilities ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 extern U16 dio_set_config ( U32 device, T_DIO_DCB *dcb ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 extern U16 dio_get_config ( U32 device, T_DIO_DCB *dcb ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 extern U16 dio_close_device ( U32 device ); |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
53 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
54 |
31d82d090499
gsm-fw/cdg: should be ready to run ccdgen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
55 #endif /* !_DIO_INLINE_H_ */ |