comparison gsm-fw/gpf/osl/os_com_ir.c @ 355:4a92b7261e23

OSL reconstruction: os_com_ir.c started
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 08:47:49 +0000
parents
children 03d034db09fa
comparison
equal deleted inserted replaced
354:92742d8f3e56 355:4a92b7261e23
1 /*
2 * This C module is a reconstruction based on the disassembly of
3 * os_com.obj in frame_na7_db_ir.lib from the Leonardo package.
4 */
5
6 /* set of included headers from COFF symtab: */
7 #include <stdio.h>
8 #include <string.h>
9 #include "gpfconf.h" /* FreeCalypso addition */
10 #include "../../nucleus/nucleus.h"
11 #include "typedefs.h"
12 #include "os.h"
13 #include "gdi.h"
14 #include "os_types.h"
15 #include "os_glob.h"
16
17 extern TC_PROTECT TCD_System_Protect;
18 extern T_OS_COM_TABLE_ENTRY ComTable[];
19 extern unsigned os_tick_to_time_multiplier;
20
21 extern int ObtainSemaphoreCB(NU_SEMAPHORE *SemCB, ULONG Timeout,
22 USHORT wait_check);
23 extern int ReleaseSemaphoreCB(NU_SEMAPHORE *SemCB);
24
25 GLOBAL LONG
26 os_SendToQueue(OS_HANDLE TaskHandle, OS_HANDLE ComHandle, USHORT Priority,
27 ULONG Suspend, OS_QDATA *Msg)
28 {
29 T_OS_COM_TABLE_ENTRY *pTable;
30 T_QDATA_ELEMENT *pFreeElement, *pRet;
31 int ret;
32 NU_SEMAPHORE *CBPtr;
33
34
35 }