FreeCalypso > hg > freecalypso-sw
diff gsm-fw/nucleus/tci.c @ 144:ea819b60fe0d
gsm-fw/nucleus/tc[di].c: minor cleanup
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 12 Nov 2013 16:57:08 +0000 |
parents | afceeeb2cba1 |
children |
line wrap: on
line diff
--- a/gsm-fw/nucleus/tci.c Tue Nov 12 05:35:48 2013 +0000 +++ b/gsm-fw/nucleus/tci.c Tue Nov 12 16:57:08 2013 +0000 @@ -207,12 +207,15 @@ TCD_Active_HISR_Tails[i] = NU_NULL; } +/* not used in FreeCalypso */ +#if 0 /* Initialize the LISR interrupt control data structures. */ for (i = 0; i <= NU_MAX_VECTORS; i++) TCD_Registered_LISRs[i] = NU_FALSE; for (i = 0; i <= NU_MAX_LISRS; i++) TCD_LISR_Pointers[i] = NU_NULL; +#endif /* Initialize the interrupt processing variables. */ TCD_Interrupt_Count = 0; @@ -221,14 +224,11 @@ /* Initialize the task control protection structures. */ TCD_List_Protect.tc_tcb_pointer = NU_NULL; TCD_System_Protect.tc_tcb_pointer = NU_NULL; +#if 0 TCD_LISR_Protect.tc_tcb_pointer = NU_NULL; +#endif TCD_HISR_Protect.tc_tcb_pointer = NU_NULL; /* Initialize the interrupt level to enable all interrupts. */ TCD_Interrupt_Level = NU_ENABLE_INTERRUPTS; } - - - - -