# HG changeset patch # User Michael Spacefalcon # Date 1399492201 0 # Node ID fdeea3d6582d25712c1e5487df5ea3128d9686b6 # Parent 460ed6748e4c52f93fa7e593e0687471a86e0713 OSL: reconstruction of os_isr.c (_fl only) started diff -r 460ed6748e4c -r fdeea3d6582d gsm-fw/gpf/osl/Makefile --- a/gsm-fw/gpf/osl/Makefile Wed May 07 18:45:50 2014 +0000 +++ b/gsm-fw/gpf/osl/Makefile Wed May 07 19:50:01 2014 +0000 @@ -4,7 +4,7 @@ XOPTS= -DRUN_FLASH -mthumb IOBJS= os_pro_ir.o -XOBJS= os_pro_fl.o +XOBJS= os_isr.o os_pro_fl.o all: ${IOBJS} ${XOBJS} diff -r 460ed6748e4c -r fdeea3d6582d gsm-fw/gpf/osl/os_isr.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/gpf/osl/os_isr.c Wed May 07 19:50:01 2014 +0000 @@ -0,0 +1,26 @@ +/* + * This C module is a reconstruction based on the disassembly of + * os_isr.obj in frame_na7_db_fl.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_OSISR_TABLE_ENTRY OSISRTable[]; + +GLOBAL LONG +os_isr_init(void) +{ + USHORT i; + + for (i = 1; i <= MaxOSISRs; i++) + OSISRTable[i].name[0] = 0; + return(OS_OK); +} diff -r 460ed6748e4c -r fdeea3d6582d gsm-fw/gpf/osl/os_pro_ir.c --- a/gsm-fw/gpf/osl/os_pro_ir.c Wed May 07 18:45:50 2014 +0000 +++ b/gsm-fw/gpf/osl/os_pro_ir.c Wed May 07 19:50:01 2014 +0000 @@ -14,8 +14,6 @@ #include "os_types.h" #include "os_glob.h" -typedef unsigned char u_char; - extern VOID *TCD_Current_Thread; extern T_OS_TASK_TABLE_ENTRY TaskTable[]; extern unsigned os_time_to_tick_multiplier;