changeset 298:b1935a9ee04e

BUZM SWE hooked into RiViera
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Mar 2022 04:12:50 +0000
parents 8dfdf88d632f
children 91e61d00a6b5
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, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/riviera/rvf/rvf_pool_size.h	Tue Mar 29 03:45:41 2022 +0000
+++ b/src/cs/riviera/rvf/rvf_pool_size.h	Tue Mar 29 04:12:50 2022 +0000
@@ -152,6 +152,16 @@
 #endif
 
 /*
+ * BUZM SWE
+ */
+#ifdef RVM_BUZM_SWE
+  #include "buzm/buzm_pool_size.h"
+  #define RVF_BUZM_POOL_SIZE  (BUZM_POOL_SIZE)
+#else
+  #define RVF_BUZM_POOL_SIZE  (0)
+#endif
+
+/*
  * VIBR SWE
  */
 #ifdef RVM_VIBR_SWE
@@ -758,7 +768,7 @@
                          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_VIBR_POOL_SIZE + \
+                         RVF_BUZM_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	Tue Mar 29 03:45:41 2022 +0000
+++ b/src/cs/riviera/rvm/rvm_swe.c	Tue Mar 29 04:12:50 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 buzm_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 *);
@@ -250,6 +251,10 @@
    { AUDIO_USE_ID,    audio_get_info},
 #endif
 
+#ifdef RVM_BUZM_SWE
+   { BUZM_USE_ID,    buzm_get_info},
+#endif
+
 #ifdef RVM_VIBR_SWE
    { VIBR_USE_ID,    vibr_get_info},
 #endif
--- a/src/cs/system/main/create_RVtasks.c	Tue Mar 29 03:45:41 2022 +0000
+++ b/src/cs/system/main/create_RVtasks.c	Tue Mar 29 04:12:50 2022 +0000
@@ -439,6 +439,11 @@
 #endif
 #endif
 
+#ifdef RVM_BUZM_SWE
+    /* initialize BUZM SWE */
+    rv_start_swe_and_check (BUZM_USE_ID, "BUZM");
+#endif
+
 #ifdef RVM_VIBR_SWE
     /* initialize VIBR SWE */
     rv_start_swe_and_check (VIBR_USE_ID, "VIBR");