FreeCalypso > hg > fc-tourmaline
comparison src/cs/drivers/drv_app/fchg/fchg_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 * RiViera environment boilerplate header for the FCHG SWE | |
3 */ | |
4 | |
5 #ifndef __FCHG_ENV_H__ | |
6 #define __FCHG_ENV_H__ | |
7 | |
8 #include "rvm/rvm_gen.h" | |
9 #include "fchg/fchg_struct.h" | |
10 #include "fchg/fchg_pool_size.h" | |
11 | |
12 #define FCHG_MAILBOX RVF_TASK_MBOX_0 | |
13 #define FCHG_TIMER RVF_TIMER_0 | |
14 | |
15 /* memory bank size and watermark */ | |
16 #define FCHG_MB_PRIM_SIZE FCHG_MB1_SIZE | |
17 #define FCHG_MB_PRIM_WATERMARK (FCHG_MB_PRIM_SIZE) | |
18 | |
19 #define FCHG_MB_PRIM_INC_SIZE 0 | |
20 #define FCHG_MB_PRIM_INC_WATERMARK 0 | |
21 | |
22 extern T_PWR_CTRL_BLOCK *pwr_ctrl; | |
23 | |
24 /* Prototypes */ | |
25 | |
26 T_RVM_RETURN fchg_get_info (T_RVM_INFO_SWE *infoSWE); | |
27 | |
28 T_RVM_RETURN fchg_set_info(T_RVF_ADDR_ID addr_id, | |
29 T_RV_RETURN return_path[], | |
30 T_RVF_MB_ID mbId[], | |
31 T_RVM_RETURN (*callBackFct) (T_RVM_NAME SWEntName, | |
32 T_RVM_RETURN errorCause, | |
33 T_RVM_ERROR_TYPE errorType, | |
34 T_RVM_STRING errorMsg)); | |
35 | |
36 T_RVM_RETURN fchg_init (void); | |
37 T_RVM_RETURN fchg_core (void); | |
38 T_RVM_RETURN fchg_stop (void); | |
39 T_RVM_RETURN fchg_kill (void); | |
40 | |
41 #endif /* include guard */ |