FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/services/etm/etm_env.h @ 165:9dbf3248a197
starting to compile ETM
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 19 Nov 2013 04:23:29 +0000 |
parents | d78219c43fbf |
children |
comparison
equal
deleted
inserted
replaced
164:d78219c43fbf | 165:9dbf3248a197 |
---|---|
3 * @file etm_env.h | 3 * @file etm_env.h |
4 * | 4 * |
5 * Declarations of the Riviera Generic Functions | 5 * Declarations of the Riviera Generic Functions |
6 * (except handle message and handle timer). | 6 * (except handle message and handle timer). |
7 * | 7 * |
8 * @author aurent Sollier (l-sollier@ti.com) and Kim T. Peteren (ktp@ti.com) | 8 * @author Laurent Sollier (l-sollier@ti.com) and |
9 * Kim T. Peteren (ktp@ti.com) | |
9 * @version 0.1 | 10 * @version 0.1 |
10 * | 11 * |
11 | 12 |
12 * | 13 * |
13 * History: | 14 * History: |
21 | 22 |
22 | 23 |
23 #ifndef _ETM_ENV_H_ | 24 #ifndef _ETM_ENV_H_ |
24 #define _ETM_ENV_H_ | 25 #define _ETM_ENV_H_ |
25 | 26 |
26 #include "rvm/rvm_gen.h" | 27 #include "../../riviera/rvm/rvm_gen.h" |
27 #include "etm/etm_pool_size.h" /* Stack & Memory Bank sizes definitions */ | 28 #include "etm_pool_size.h" /* Stack & Memory Bank sizes definitions */ |
28 | 29 |
29 /** | 30 /** |
30 * Mailbox ID used by the SWE. | 31 * Mailbox ID used by the SWE. |
31 */ | 32 */ |
32 #define ETM_MAILBOX RVF_TASK_MBOX_0 | 33 #define ETM_MAILBOX RVF_TASK_MBOX_0 |
44 /** Define a structure used to store all the informations related to KPD's task | 45 /** Define a structure used to store all the informations related to KPD's task |
45 * & MBs identifiers. | 46 * & MBs identifiers. |
46 */ | 47 */ |
47 typedef struct ctrl_blk | 48 typedef struct ctrl_blk |
48 { | 49 { |
49 T_RVF_MB_ID prim_id; | 50 T_RVF_MB_ID prim_id; |
50 T_RVF_ADDR_ID addr_id; | 51 T_RVF_ADDR_ID addr_id; |
51 T_RVM_RETURN (*error_ft)(T_RVM_NAME swe_name, | 52 T_RVM_RETURN (*error_ft)(T_RVM_NAME swe_name, |
52 T_RVM_RETURN error_cause, | 53 T_RVM_RETURN error_cause, |
53 T_RVM_ERROR_TYPE error_type, | 54 T_RVM_ERROR_TYPE error_type, |
54 T_RVM_STRING error_msg); | 55 T_RVM_STRING error_msg); |
55 } T_ETM_ENV_CTRL_BLK; | 56 } T_ETM_ENV_CTRL_BLK; |
56 | 57 |