public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] sa11x0 spurious interrupts
@ 2001-02-13  1:19 Robin Farine
  2001-02-13  9:18 ` Jonathan Larmour
  0 siblings, 1 reply; 7+ messages in thread
From: Robin Farine @ 2001-02-13  1:19 UTC (permalink / raw)
  To: ecos-discuss

Hello,

While looking at the way the sa11x0 hal's routine 'hal_IRQ_handler()' decodes
interrupt sources, I noticed that when it does not find an interrupt source,
the routine returns CYGNUM_HAL_INTERRUPT_NONE, which equals to -1 for this
platform. However, the common ARM code in "vectors.S" assumes that a spurious
interrupt always have the vector #0. And worse, 'handle_IRQ_or_FIQ' will call
'hal_interrupt_handlers[-1]' which contains 0 and thus reboot!

Did I miss something?

Thanks,

Robin

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-02-13 11:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-13  1:19 [ECOS] sa11x0 spurious interrupts Robin Farine
2001-02-13  9:18 ` Jonathan Larmour
2001-02-13  9:56   ` Gary Thomas
2001-02-13 10:10     ` Jonathan Larmour
2001-02-13 10:13       ` Gary Thomas
2001-02-13 11:06         ` Robin Farine
2001-02-13 10:09   ` Robin Farine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).