]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/rm-lld.git/blobdiff - src/rm_services.c
Coded basic unit test to test RM infrastructure
[keystone-rtos/rm-lld.git] / src / rm_services.c
index 7e42870d817879d72127040048d652f93c5ae497..117d52ec340cf20f14e12b3cb03a5c6aedc261b3 100644 (file)
@@ -66,14 +66,14 @@ void Rm_serviceHandler (void *rmHandle, Rm_ServiceReqInfo *serviceRequest,
 
     /* Prevent another component using the same instance from wiping out the current
      * service request */
-    key = Rm_osalLocalCsEnter();
+    key = Rm_osalCsEnter();
 
     /* Make sure serviceType is valid and that a callback function has been provided */
     if ((serviceRequest->type < Rm_service_FIRST) || 
         (serviceRequest->type > Rm_service_LAST))
     {
         serviceResponse->serviceResult = RM_SERVICE_ERROR_INVALID_SERVICE_TYPE;
-        Rm_osalLocalCsExit(key);
+        Rm_osalCsExit(key);
         return;
     }
     else if (serviceRequest->callback.serviceCallback == NULL)
@@ -84,7 +84,7 @@ void Rm_serviceHandler (void *rmHandle, Rm_ServiceReqInfo *serviceRequest,
          * through the callback function provided by the component.  Return an error 
          * if the component does not provide a callback function. */
         serviceResponse->serviceResult = RM_SERVICE_ERROR_CALLBACK_NOT_PROVIDED;
-        Rm_osalLocalCsExit(key);
+        Rm_osalCsExit(key);
         return;
     }
 
@@ -153,7 +153,7 @@ void Rm_serviceHandler (void *rmHandle, Rm_ServiceReqInfo *serviceRequest,
         }
     }
 
-    Rm_osalLocalCsExit(key); 
+    Rm_osalCsExit(key); 
     return;
 }