public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] EDB7312(ARM720T)  interrupts
@ 2003-11-07 21:01 Aaron Case
  2003-11-07 21:14 ` Gary Thomas
  0 siblings, 1 reply; 11+ messages in thread
From: Aaron Case @ 2003-11-07 21:01 UTC (permalink / raw)
  To: Ecos-Discuss

Hello,

I have a question about implementing interrupts with the rich eCos interrupt
API with the limited ARM interrupt vector table.

From my experience, and as mentioned in the Massa test, the ARM architecture
has only two vectors for interrupts(FIQ and IRQ) and the eCos API is
implemented more readily for architectures that have multiple entries in
their vector tables.

It is therefore up to the software to look at the INTSR1/2/3 registers to
determine the source of the interrupt.

So when I create my 23 different interrupts, where is the most advisable
place to decode the source of the interrupt. Ive considered having all the
IRQ's share an ISR and each have a unique DSR identifiable through the data
argument of the cyg_interrupt_create() call.

Having all the interrupts share an ISR to decode the interrupt source SEEMS
to be more processing than the ISR was intended to handle.

If the aforementioned approach is not in vogue(or feasible), than could
someone out there who has done this before and would be able to point me to
a post or document that describes how to approach this implementation best.

Thanks in advance,
Aaron Case



Aaron Case
Dynazign, Inc.
Charlotte, NC


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

end of thread, other threads:[~2003-11-17 16:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-07 21:01 [ECOS] EDB7312(ARM720T) interrupts Aaron Case
2003-11-07 21:14 ` Gary Thomas
2003-11-07 22:05   ` Aaron Case
2003-11-07 23:00     ` Gary Thomas
2003-11-14 22:08       ` Aaron Case
2003-11-14 22:13         ` Andrew Lunn
2003-11-14 22:22           ` Aaron Case
2003-11-14 23:08             ` Gary Thomas
2003-11-17 15:57           ` Aaron Case
2003-11-17 16:02             ` Gary Thomas
2003-11-17 16:48               ` Aaron Case

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).