This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Redboot Questions


Carlos Camargo wrote:
> 
>   /* create an interrupt handler with int_0_isr() as
> the ISR and int_0_dsr() as the DSR.*/
>   cyg_interrupt_create(CYGNUM_HAL_INTERRUPT_EXT0, 0,
> 0, &int_0_isr,
>                        &int_0_dsr, &int_0_ISR_H,
> &intr);
> 
> 
>   cyg_interrupt_attach(int_0_ISR_H);
>   cyg_interrupt_unmask(CYGNUM_HAL_INTERRUPT_EXT0);

This does look correct, so this may indeed indicate some bug in the HAL.

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
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]