This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: CYGIMP_KERNEL_INTERRUPTS_CHAIN
- To: Rafael Rodríguez Velilla <rrv at tid dot es>
- Subject: Re: [ECOS] CYGIMP_KERNEL_INTERRUPTS_CHAIN
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 14 May 2001 18:41:46 +0100
- Cc: ecos <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <3AFFF64D.29E1F877@tid.es>
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