]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/rm-lld.git/blobdiff - test/k2k/c66/bios/rm_shared_osal.c
Added multi-threaded OSAL for rm instance serialization
[keystone-rtos/rm-lld.git] / test / k2k / c66 / bios / rm_shared_osal.c
index 0b6326561f39fde0e222450f72bc274cd51f850f..58f636abdf467042abdd3e3837b3983577a055da 100644 (file)
@@ -146,7 +146,7 @@ void *Osal_rmCsEnter(void)
 /* FUNCTION PURPOSE: Critical section exit
  ***********************************************************************
  * DESCRIPTION: The function is used to exit a critical section 
- *              protected using Osal_cppiCsEnter() API.
+ *              protected using Osal_rmCsEnter() API.
  */  
 void Osal_rmCsExit(void *CsHandle)
 {
@@ -154,6 +154,29 @@ void Osal_rmCsExit(void *CsHandle)
     CSL_semReleaseSemaphore (RM_HW_SEM);
 }
 
+/* FUNCTION PURPOSE: Multi-threaded critical section enter
+ ***********************************************************************
+ * DESCRIPTION: The function is used to enter a multi-threaded critical
+ *              section. Function protects against 
+ *      
+ *              access from multiple threads on single core
+ */  
+void *Osal_rmMtCsEnter(void *mtSemObj)
+{
+
+    return NULL;
+}
+
+/* FUNCTION PURPOSE: Multi-threaded critical section exit
+ ***********************************************************************
+ * DESCRIPTION: The function is used to exit a multi-threaded critical
+ *              section protected using Osal_rmMtCsEnter() API.
+ */  
+void Osal_rmMtCsExit(void *mtSemObj, void *CsHandle)
+{
+
+}
+
 /* FUNCTION PURPOSE: Cache invalidate
  ***********************************************************************
  * DESCRIPTION: The function is used to indicate that a block of memory is