This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ISR parameter question
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] ISR parameter question
- From: Grant Edwards <grante at visi dot com>
- Date: Fri, 7 Sep 2001 17:00:19 -0500
I'm looking at hal/arm/aeb/hal_misc.c, and the abort ISR
routine is
static int
aeb_abort_isr(cyg_vector_t vector, cyg_addrword_t data, HAL_SavedRegisters *regs)
{
cyg_hal_user_break((CYG_ADDRWORD*)regs);
cyg_drv_interrupt_acknowledge(CYGNUM_HAL_INTERRUPT_EXT0);
return 0; // No need to run DSR
}
I can't find any mention of the third parameter to an ISR in
the Kernel API docs. Is that third parameter passed to ISR
routines? I'd like to use a routine similar to the one above
in my HAL.
--
Grant Edwards
grante@visi.com