comparison 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
comparison
equal deleted inserted replaced
143:afceeeb2cba1 144:ea819b60fe0d
205 { 205 {
206 TCD_Active_HISR_Heads[i] = NU_NULL; 206 TCD_Active_HISR_Heads[i] = NU_NULL;
207 TCD_Active_HISR_Tails[i] = NU_NULL; 207 TCD_Active_HISR_Tails[i] = NU_NULL;
208 } 208 }
209 209
210 /* not used in FreeCalypso */
211 #if 0
210 /* Initialize the LISR interrupt control data structures. */ 212 /* Initialize the LISR interrupt control data structures. */
211 for (i = 0; i <= NU_MAX_VECTORS; i++) 213 for (i = 0; i <= NU_MAX_VECTORS; i++)
212 TCD_Registered_LISRs[i] = NU_FALSE; 214 TCD_Registered_LISRs[i] = NU_FALSE;
213 215
214 for (i = 0; i <= NU_MAX_LISRS; i++) 216 for (i = 0; i <= NU_MAX_LISRS; i++)
215 TCD_LISR_Pointers[i] = NU_NULL; 217 TCD_LISR_Pointers[i] = NU_NULL;
218 #endif
216 219
217 /* Initialize the interrupt processing variables. */ 220 /* Initialize the interrupt processing variables. */
218 TCD_Interrupt_Count = 0; 221 TCD_Interrupt_Count = 0;
219 TCD_Stack_Switched = 0; 222 TCD_Stack_Switched = 0;
220 223
221 /* Initialize the task control protection structures. */ 224 /* Initialize the task control protection structures. */
222 TCD_List_Protect.tc_tcb_pointer = NU_NULL; 225 TCD_List_Protect.tc_tcb_pointer = NU_NULL;
223 TCD_System_Protect.tc_tcb_pointer = NU_NULL; 226 TCD_System_Protect.tc_tcb_pointer = NU_NULL;
227 #if 0
224 TCD_LISR_Protect.tc_tcb_pointer = NU_NULL; 228 TCD_LISR_Protect.tc_tcb_pointer = NU_NULL;
229 #endif
225 TCD_HISR_Protect.tc_tcb_pointer = NU_NULL; 230 TCD_HISR_Protect.tc_tcb_pointer = NU_NULL;
226 231
227 /* Initialize the interrupt level to enable all interrupts. */ 232 /* Initialize the interrupt level to enable all interrupts. */
228 TCD_Interrupt_Level = NU_ENABLE_INTERRUPTS; 233 TCD_Interrupt_Level = NU_ENABLE_INTERRUPTS;
229 } 234 }
230
231
232
233
234