view gsm-fw/gpf/tst_pei/tst_primitives.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 5d1e22505446
children
line wrap: on
line source

/*
+------------------------------------------------------------------------------
|  File:       tst_primitives.h
+------------------------------------------------------------------------------
|                 Copyright Texas Instruments 2002
|                 All rights reserved.
|
+------------------------------------------------------------------------------
| Purpose:     Definitions for the IDLE entity.
| $Identity:$
+------------------------------------------------------------------------------
*/

#ifndef TST_PRIMITIVES
#define TST_PRIMITIVES

/*==== INCLUDES ==============================================================*/

/*==== CONSTS ================================================================*/

#define IDLE_REQ   0x00000010
#define IDLE_CNF   0x00010010

#define SYSPRIM_EXT_TICK_MODE_REQ	"EXT_TICK_MODE_REQ"
#define SYSPRIM_EXT_TICK_MODE_CNF	"EXT_TICK_MODE_CNF"
#define SYSPRIM_INT_TICK_MODE_REQ	"INT_TICK_MODE_REQ"
#define SYSPRIM_INT_TICK_MODE_CNF	"INT_TICK_MODE_CNF"
#define SYSPRIM_TIMER_TICK_REQ		"TIMER_TICK_REQ"
#define SYSPRIM_TIMER_TICK_CNF		"TIMER_TICK_CNF"

#define SYSPRIM_IDLE_REQ			"IDLE_REQ"
#define SYSPRIM_IDLE_CNF			"IDLE_CNF"


/*==== TYPES =================================================================*/

#ifndef __T_IDLE_CNF__
#define __T_IDLE_CNF__
typedef struct
{
  U8                        dummy;                       /*<  0:  1>                              */
} T_IDLE_CNF;
#endif

#ifndef __T_IDLE_REQ__
#define __T_IDLE_REQ__
typedef struct
{
  U8                        dummy;                       /*<  0:  1>                              */
} T_IDLE_REQ;
#endif


/*==== EXPORTS ===============================================================*/

#endif /* TST_PRIMITIVES */
/*==== END OF FILE ===========================================================*/