[ECOS] CYGIMP_KERNEL_INTERRUPTS_CHAIN

Jonathan Larmour jlarmour@redhat.com
Mon May 14 10:41:00 GMT 2001


Rafael Rodríguez Velilla wrote:
> 
>   Where is Cyg_Interrupt::chain_list initialized?
> 
>   It is necessary for its correct behaviour to initialize all the array to NULL but I don't see where does this happens.

kernel/VERSION/src/intr/intr.cxx:

//
-------------------------------------------------------------------------
// Interrupt chaining statics.

#ifdef CYGIMP_KERNEL_INTERRUPTS_CHAIN

Cyg_Interrupt *Cyg_Interrupt::chain_list[CYGNUM_HAL_ISR_COUNT];

#endif

so it should be initialied to null throught the array.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



More information about the Ecos-discuss mailing list