FreeCalypso > hg > fc-tourmaline
comparison src/cs/riviera/rv_template/xxx_env.h @ 0:4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:23:26 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4e78acac3d88 |
---|---|
1 /** | |
2 * @file xxx_env.h | |
3 * | |
4 * Declarations of the Riviera Generic Functions | |
5 * | |
6 * @author Your name here (your_email_here) | |
7 * @version 0.1 | |
8 */ | |
9 | |
10 /* | |
11 * History: | |
12 * | |
13 * Date Author Modification | |
14 * ------------------------------------------------------------------- | |
15 * // Create. | |
16 * | |
17 * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved | |
18 */ | |
19 | |
20 #ifndef __XXX_ENV_H_ | |
21 #define __XXX_ENV_H_ | |
22 | |
23 | |
24 #include "rvm/rvm_gen.h" /* Generic RVM types and functions. */ | |
25 #include "rvf/rvf_pool_size.h" /* Stack & Memory Bank sizes definitions */ | |
26 #include "xxx/xxx_pool_size.h" /* Stack & Memory Bank sizes definitions */ | |
27 | |
28 /** | |
29 * Wished priority of the host task for the SWE. | |
30 * | |
31 * During development, put the hardcoded value here. | |
32 * After integration, the value should be in rvm_priorities.h | |
33 */ | |
34 #ifdef RVM_XXX_TASK_PRIORITY | |
35 #define XXX_TASK_PRIORITY RVM_XXX_TASK_PRIORITY | |
36 #else | |
37 #define XXX_TASK_PRIORITY 80 | |
38 #endif | |
39 | |
40 | |
41 /** | |
42 * @name Generic functions | |
43 * | |
44 * Generic functions declarations needed for a Type 2 SWE | |
45 * (Group Member SWE). | |
46 */ | |
47 /*@{*/ | |
48 T_RVM_RETURN xxx_get_info (T_RVM_INFO_SWE *info_swe); | |
49 | |
50 T_RVM_RETURN xxx_set_info ( T_RVF_ADDR_ID addr_id, | |
51 T_RV_RETURN_PATH return_path[], | |
52 T_RVF_MB_ID bk_id_table[], | |
53 T_RVM_CB_FUNC call_back_error_ft); | |
54 | |
55 T_RVM_RETURN xxx_init (void); | |
56 | |
57 T_RVM_RETURN xxx_kill (void); | |
58 | |
59 /* Type 1 specific generic functions */ | |
60 T_RVM_RETURN xxx_start (void); | |
61 /* End of specific */ | |
62 /* Type 2 specific generic functions */ | |
63 T_RVM_RETURN xxx_start (void); | |
64 T_RVM_RETURN xxx_stop (T_RV_HDR * msg); | |
65 T_RVM_RETURN xxx_handle_message (T_RV_HDR * msg); | |
66 T_RVM_RETURN xxx_handle_timer (T_RV_HDR * msg); | |
67 /* End of specific */ | |
68 /* Type 3 specific generic functions */ | |
69 T_RVM_RETURN xxx_start (void); | |
70 T_RVM_RETURN xxx_stop (T_RV_HDR * msg); | |
71 T_RVM_RETURN xxx_handle_message (T_RV_HDR * msg); | |
72 T_RVM_RETURN xxx_handle_timer (T_RV_HDR * msg); | |
73 /* End of specific */ | |
74 /* Type 4 specific generic functions */ | |
75 T_RVM_RETURN xxx_core (void); | |
76 /* End of specific */ | |
77 | |
78 /*@}*/ | |
79 | |
80 #endif /*__XXX_ENV_H_*/ |