FreeCalypso > hg > fc-tourmaline
changeset 295:e5cfd6362158
VIBR SWE hooked into RiViera
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 27 Mar 2022 19:44:08 +0000 |
parents | e17bdedfbf2b |
children | a927f030a4e0 |
files | src/cs/riviera/rvf/rvf_pool_size.h src/cs/riviera/rvm/rvm_swe.c src/cs/system/main/create_RVtasks.c |
diffstat | 3 files changed, 22 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/riviera/rvf/rvf_pool_size.h Sun Mar 27 08:46:10 2022 +0000 +++ b/src/cs/riviera/rvf/rvf_pool_size.h Sun Mar 27 19:44:08 2022 +0000 @@ -152,6 +152,16 @@ #endif /* + * VIBR SWE + */ +#ifdef RVM_VIBR_SWE + #include "vibr/vibr_pool_size.h" + #define RVF_VIBR_POOL_SIZE (VIBR_POOL_SIZE) +#else + #define RVF_VIBR_POOL_SIZE (0) +#endif + +/* * DAR SWE */ #ifdef RVM_DAR_SWE @@ -747,7 +757,8 @@ 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_FCBM_POOL_SIZE + \ - RVF_R2D_POOL_SIZE + RVF_MMS_POOL_SIZE +\ + RVF_R2D_POOL_SIZE + RVF_MMS_POOL_SIZE + \ + RVF_VIBR_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 + \ RVF_RTC_POOL_SIZE + RVF_RTEST_POOL_SIZE + RVF_RVM_POOL_SIZE + \
--- a/src/cs/riviera/rvm/rvm_swe.c Sun Mar 27 08:46:10 2022 +0000 +++ b/src/cs/riviera/rvm/rvm_swe.c Sun Mar 27 19:44:08 2022 +0000 @@ -48,6 +48,7 @@ T_RVM_RETURN syn_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN expl_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN audio_get_info(T_RVM_INFO_SWE *); +T_RVM_RETURN vibr_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN etm_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN dar_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN mks_get_info(T_RVM_INFO_SWE *); @@ -249,6 +250,10 @@ { AUDIO_USE_ID, audio_get_info}, #endif +#ifdef RVM_VIBR_SWE + { VIBR_USE_ID, vibr_get_info}, +#endif + #ifdef RVM_ETM_SWE { ETM_USE_ID, etm_get_info}, #endif
--- a/src/cs/system/main/create_RVtasks.c Sun Mar 27 08:46:10 2022 +0000 +++ b/src/cs/system/main/create_RVtasks.c Sun Mar 27 19:44:08 2022 +0000 @@ -439,6 +439,11 @@ #endif #endif +#ifdef RVM_VIBR_SWE + /* initialize VIBR SWE */ + rv_start_swe_and_check (VIBR_USE_ID, "VIBR"); +#endif + #if (PSP_STANDALONE==0) #ifdef RVM_BAE_SWE /* initialize BAE SWE */