# HG changeset patch # User Michael Spacefalcon # Date 1399853679 0 # Node ID ee4eb0eacfafee4eed8ccf5eda4adffc8963fb44 # Parent 39b5b18e26b21f86b195015e59d3d235c1a8fc32 OSL: os_com_fl.c done diff -r 39b5b18e26b2 -r ee4eb0eacfaf gsm-fw/gpf/osl/os_com_fl.c --- a/gsm-fw/gpf/osl/os_com_fl.c Mon May 12 00:04:13 2014 +0000 +++ b/gsm-fw/gpf/osl/os_com_fl.c Mon May 12 00:14:39 2014 +0000 @@ -288,3 +288,22 @@ NU_Release_Semaphore(&ComSemCB); return(OS_OK); } + +GLOBAL LONG +os_ComInit(void) +{ + USHORT i; + + if (NU_Create_Semaphore(&ComSemCB, "COMSEM", 1, NU_PRIORITY) + != NU_SUCCESS) + return(OS_ERROR); + for (i = 1; i <= MaxCommunications; i++) + bzero(&ComTable[i], sizeof(T_OS_COM_TABLE_ENTRY)); + return(OS_OK); +} + +GLOBAL LONG +os_CloseQueue(OS_HANDLE TaskHandle, OS_HANDLE ComHandle) +{ + return(OS_OK); +}