FreeCalypso > hg > fc-magnetite
changeset 320:3f3c98f8b85d
changes under src/cs/riviera to support addition of FCHG SWE
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 04 Dec 2017 00:43:20 +0000 |
parents | 9ffdfacfe969 |
children | 5dea7e937c37 |
files | src/cs/riviera/rvf/rvf_pool_size.h src/cs/riviera/rvm/rvm_swe.c src/cs/riviera/rvm/rvm_use_id_list.h |
diffstat | 3 files changed, 19 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/riviera/rvf/rvf_pool_size.h Sun Dec 03 03:51:28 2017 +0000 +++ b/src/cs/riviera/rvf/rvf_pool_size.h Mon Dec 04 00:43:20 2017 +0000 @@ -308,7 +308,6 @@ /* * LCC (PWR) SWE */ - #ifdef RVM_LCC_SWE #include "lcc/lcc_pool_size.h" #define RVF_LCC_POOL_SIZE (LCC_POOL_SIZE) @@ -317,6 +316,16 @@ #endif /* + * FCHG (Yet Another PWR) SWE + */ +#ifdef RVM_FCHG_SWE + #include "fchg/fchg_pool_size.h" + #define RVF_FCHG_POOL_SIZE (FCHG_POOL_SIZE) +#else + #define RVF_FCHG_POOL_SIZE (0) +#endif + +/* * R2D SWE */ #ifdef RVM_R2D_SWE @@ -728,6 +737,7 @@ RVF_KPD_POOL_SIZE + RVF_KPG_POOL_SIZE + RVF_KZP_POOL_SIZE + \ RVF_LLS_POOL_SIZE + RVF_MKS_POOL_SIZE + RVF_TTY_POOL_SIZE + \ RVF_MPM_POOL_SIZE + RVF_PWR_POOL_SIZE + RVF_LCC_POOL_SIZE + \ + RVF_FCHG_POOL_SIZE + \ RVF_R2D_POOL_SIZE + RVF_MMS_POOL_SIZE +\ RVF_RGUI_POOL_SIZE + RVF_RNET_POOL_SIZE + RVF_RNET_BR_POOL_SIZE + \ RVF_MDC_POOL_SIZE + RVF_RNET_RT_POOL_SIZE + RVF_RNET_WS_POOL_SIZE + \
--- a/src/cs/riviera/rvm/rvm_swe.c Sun Dec 03 03:51:28 2017 +0000 +++ b/src/cs/riviera/rvm/rvm_swe.c Mon Dec 04 00:43:20 2017 +0000 @@ -29,6 +29,7 @@ T_RVM_RETURN spi_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN pwr_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN lcc_get_info(T_RVM_INFO_SWE *); +T_RVM_RETURN fchg_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN rgui_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN hci_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN l2cap_get_info(T_RVM_INFO_SWE *); @@ -171,6 +172,10 @@ { LCC_USE_ID, lcc_get_info}, #endif +#ifdef RVM_FCHG_SWE + { FCHG_USE_ID, fchg_get_info}, +#endif + #ifdef RVM_RGUI_SWE { RGUI_USE_ID, rgui_get_info}, #endif
--- a/src/cs/riviera/rvm/rvm_use_id_list.h Sun Dec 03 03:51:28 2017 +0000 +++ b/src/cs/riviera/rvm/rvm_use_id_list.h Mon Dec 04 00:43:20 2017 +0000 @@ -122,6 +122,9 @@ /* Overloading PWR_USE_ID */ #define LCC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0020) +/* Yet another version of PWR SWE */ +#define FCHG_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0020) + #define RGUI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0040)