FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/services/lls/lls_env.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /** | |
2 * @file lls_env.h | |
3 * | |
4 * Declarations of the Riviera Generic Functions | |
5 * | |
6 * @author Laurent Sollier (l-sollier@ti.com) | |
7 * @version 0.1 | |
8 */ | |
9 | |
10 /* | |
11 * History: | |
12 * | |
13 * Date Author Modification | |
14 * ---------------------------------------- | |
15 * 03/12/2002 L Sollier Create | |
16 * | |
17 * | |
18 * (C) Copyright 2002 by Texas Instruments Incorporated, All Rights Reserved | |
19 */ | |
20 | |
21 #ifndef _LLS_ENV_H_ | |
22 #define _LLS_ENV_H_ | |
23 | |
24 #include "rvm/rvm_gen.h" | |
25 | |
26 #include "lls/lls_pool_size.h" /* Stack & Memory Bank sizes definitions */ | |
27 | |
28 /** | |
29 * @name Mem bank | |
30 * | |
31 * Memory bank size and watermark. | |
32 */ | |
33 /*@{*/ | |
34 #define LLS_MB_PRIM_SIZE LLS_MB1_SIZE | |
35 #define LLS_MB_PRIM_WATERMARK LLS_MB_PRIM_SIZE | |
36 /*@}*/ | |
37 | |
38 | |
39 /** Define a structure used to store all the informations related to LLS's task | |
40 * & MBs identifiers. | |
41 */ | |
42 typedef struct | |
43 { | |
44 T_RVF_MB_ID prim_id; | |
45 BOOL swe_is_initialized; | |
46 T_RVM_RETURN (*error_ft)(T_RVM_NAME swe_name, | |
47 T_RVM_RETURN error_cause, | |
48 T_RVM_ERROR_TYPE error_type, | |
49 T_RVM_STRING error_msg); | |
50 } T_LLS_ENV_CTRL_BLK; | |
51 | |
52 | |
53 | |
54 | |
55 /** | |
56 * @name Generic functions | |
57 * | |
58 * Generic functions declarations. | |
59 */ | |
60 /*@{*/ | |
61 | |
62 | |
63 T_RVM_RETURN lls_get_info(T_RVM_INFO_SWE *infoSWE); | |
64 | |
65 T_RVM_RETURN lls_set_info( T_RVF_ADDR_ID addr_id, | |
66 T_RV_RETURN return_path[], | |
67 T_RVF_MB_ID bk_id[], | |
68 T_RVM_RETURN (*rvm_error_ft)(T_RVM_NAME swe_name, | |
69 T_RVM_RETURN error_cause, | |
70 T_RVM_ERROR_TYPE error_type, | |
71 T_RVM_STRING error_msg)); | |
72 | |
73 T_RVM_RETURN lls_init(void); | |
74 | |
75 T_RVM_RETURN lls_start(void); | |
76 | |
77 T_RVM_RETURN lls_stop(void); | |
78 | |
79 T_RVM_RETURN lls_kill(void); | |
80 | |
81 /*@}*/ | |
82 | |
83 | |
84 #endif /* #ifndef _LLS_ENV_H_ */ |