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]

ISR parameter question



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


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