comparison gsm-fw/gpf/osl/os_pro_ir.c @ 343:e3a2e6e875de

OSL reconstruction: beginning of os_pro_ir.c
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 03 May 2014 17:46:36 +0000
parents
children c51d6b3748c3
comparison
equal deleted inserted replaced
342:1c94c36ca3e4 343:e3a2e6e875de
1 /*
2 * This C module is a reconstruction based on the disassembly of
3 * os_pro.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 typedef unsigned char u_char;
18
19 extern VOID *TCD_Current_Thread;
20 extern T_OS_TASK_TABLE_ENTRY TaskTable[];
21
22 VOID
23 os_TaskEntry(UNSIGNED TaskHandle, VOID *argv)
24 {
25 TaskTable[TaskHandle].TaskEntry(TaskHandle, 0);
26 }