# HG changeset patch # User Michael Spacefalcon # Date 1400143669 0 # Node ID 4a92b7261e233b9f03fe55eff35b08604306453a # Parent 92742d8f3e569633e633df6b5838839e43130142 OSL reconstruction: os_com_ir.c started diff -r 92742d8f3e56 -r 4a92b7261e23 gsm-fw/gpf/osl/os_com_ir.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/gpf/osl/os_com_ir.c Thu May 15 08:47:49 2014 +0000 @@ -0,0 +1,35 @@ +/* + * This C module is a reconstruction based on the disassembly of + * os_com.obj in frame_na7_db_ir.lib from the Leonardo package. + */ + +/* set of included headers from COFF symtab: */ +#include +#include +#include "gpfconf.h" /* FreeCalypso addition */ +#include "../../nucleus/nucleus.h" +#include "typedefs.h" +#include "os.h" +#include "gdi.h" +#include "os_types.h" +#include "os_glob.h" + +extern TC_PROTECT TCD_System_Protect; +extern T_OS_COM_TABLE_ENTRY ComTable[]; +extern unsigned os_tick_to_time_multiplier; + +extern int ObtainSemaphoreCB(NU_SEMAPHORE *SemCB, ULONG Timeout, + USHORT wait_check); +extern int ReleaseSemaphoreCB(NU_SEMAPHORE *SemCB); + +GLOBAL LONG +os_SendToQueue(OS_HANDLE TaskHandle, OS_HANDLE ComHandle, USHORT Priority, + ULONG Suspend, OS_QDATA *Msg) +{ + T_OS_COM_TABLE_ENTRY *pTable; + T_QDATA_ELEMENT *pFreeElement, *pRet; + int ret; + NU_SEMAPHORE *CBPtr; + + +}