]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/netapi.git/blobdiff - ti/runtime/hplib/src/osal.c
Add stub functions for Osal_qmssAccCsEnter and Osal_qmssAccCsExit
[keystone-rtos/netapi.git] / ti / runtime / hplib / src / osal.c
index a8854dc5730d090c643c4360008dba0cf118760b..9d80c288f55f4fa4d008e94bb91bc6fa779a4bca 100755 (executable)
@@ -150,8 +150,11 @@ hplib_RetValue hplib_utilOsalCreate()
 }
 
 /* This can be called for every other process which is NOT the global master process */
-hplib_RetValue Osal_start()
+hplib_RetValue Osal_start(void *pShmBase)
 {
+    if (!pBase)
+        pBase = pShmBase;
+
     posalShm = (osal_shm_T*)hplib_shmGetEntry(pBase, OSAL_ENTRY);
     if (posalShm)
     {
@@ -174,6 +177,14 @@ void Osal_qmssMtCsExit(void *key)
     return;
 }
 
+void* Osal_qmssAccCsEnter (void)
+{
+    return NULL;
+}
+void Osal_qmssAccCsExit (void *CsHandle)
+{
+    return;
+}
 void Osal_nwalCsEnter(uint32_t *key)
 {
     p_lock_if->lock(&posalShm->nwal_lock);
@@ -508,7 +519,6 @@ void* Osal_hplibCsEnter (void)
 {
     p_lock_if->lock(&posalShm->hplib_lock);
     return NULL;
-
 }
 /* Internal Function used by hplib */