# HG changeset patch # User Michael Spacefalcon # Date 1403548639 0 # Node ID 7017da4978bb465040dc4b4fdeaa838baae8e9b2 # Parent 9cacd09e8ef35f421c8b62bf9c75cc69e1c7505a OSL: os_tim_ir.c started diff -r 9cacd09e8ef3 -r 7017da4978bb gsm-fw/gpf/osl/Makefile --- a/gsm-fw/gpf/osl/Makefile Mon Jun 23 07:03:19 2014 +0000 +++ b/gsm-fw/gpf/osl/Makefile Mon Jun 23 18:37:19 2014 +0000 @@ -3,7 +3,8 @@ IOPTS= -DRUN_INT_RAM XOPTS= -DRUN_FLASH -mthumb -IOBJS= os_com_ir.o os_mem_ir.o os_mis_ir.o os_pro_ir.o os_sem_ir.o +IOBJS= os_com_ir.o os_mem_ir.o os_mis_ir.o os_pro_ir.o \ + os_sem_ir.o os_tim_ir.o XOBJS= os_com_fl.o os_drv.o os_isr.o os_mem_fl.o os_pro_fl.o \ os_sem_fl.o os_tim_fl.o diff -r 9cacd09e8ef3 -r 7017da4978bb gsm-fw/gpf/osl/os_tim_ir.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/gpf/osl/os_tim_ir.c Mon Jun 23 18:37:19 2014 +0000 @@ -0,0 +1,34 @@ +/* + * This C module is a reconstruction based on the disassembly of + * os_tim.obj in frame_na7_db_ir.lib from the Leonardo package. + */ + +/* set of included headers from COFF symtab: */ +#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 T_OS_TIMER_ENTRY TimerTable[]; +extern T_OS_TIMER_TABLE_ENTRY *p_list[]; + +extern unsigned os_time_to_tick_multiplier; +extern unsigned os_tick_to_time_multiplier; + +extern unsigned t_start_ticks; +extern T_OS_TIMER_TABLE_ENTRY * volatile t_running; +extern int used_timers; +extern int next_t_handle; +extern int volatile t_list_access; +extern int max_used_timers; +extern NU_SEMAPHORE TimSemCB; +extern NU_TIMER os_timer_cb; + +void +timer_error(int err) +{ +}