[ECOS] ISR parameter question

Grant Edwards grante@visi.com
Fri Sep 7 14:57:00 GMT 2001


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



More information about the Ecos-discuss mailing list