public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] FIQ on ARM
@ 2001-05-14  7:21 rob.wj.jansen
  0 siblings, 0 replies; 8+ messages in thread
From: rob.wj.jansen @ 2001-05-14  7:21 UTC (permalink / raw)
  To: David.Airlie; +Cc: ecos-discuss

Dave,

> I know I should re-design my app to do the IRQ in an ISR/DSR and then use
> a soft FIFO between ISR/DSR parts of my serial .. but I'm all in for the
> quickest path at the moment ....

the quickest path will be to split this into ISR/DSR. Otherwise you'll have
to change the startup to split the shared FIQ/IRQ routines.
This "soft FIFO" you're talking about looks like overkill, specially since
you do not allow IRQs in IRQs.
Depending on what kind of device the interrupt comes from, you might use
the ISR to just schedule the DSR.

I used an ISR function with just a "return CYG_ISR_CALL_DSR" to schedule the
routine that reads the (hardware) FIFO from the device.

Regards,

	Rob Jansen


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [ECOS] FIQ on ARM
@ 2001-05-14  6:41 David Airlie
  2001-05-14  7:13 ` Jonathan Larmour
  2001-05-14  7:52 ` Rafael Rodríguez Velilla
  0 siblings, 2 replies; 8+ messages in thread
From: David Airlie @ 2001-05-14  6:41 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

I see eCos supports the FIQ on ARM as just another IRQ line, is there any
way to make it use the FIQ as a prioritised interrupt line? I have an IRQ
interrupt that holds the system for a long time and I'd like to allow a
serial FIQ to interrupt it ... but all eCos does is return if the IRQ is
active an allow eCos to service it ..

my current thinking is to remove the return .. but I'm wondering how
re-entrant eCos is at this level, will it handle the situation well..

I know I should re-design my app to do the IRQ in an ISR/DSR and then use
a soft FIFO between ISR/DSR parts of my serial .. but I'm all in for the
quickest path at the moment ....

Dave.

-- 
      David Airlie, Software Engineer, Parthus Technologies plc.,
       Mary Rosse Centre, National Tech Park, Limerick, Ireland.
   t: +353-61-508116 / f: +353-61-508101 / David.Airlie@parthus.com

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

end of thread, other threads:[~2001-05-14  8:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-14  7:21 [ECOS] FIQ on ARM rob.wj.jansen
  -- strict thread matches above, loose matches on Subject: below --
2001-05-14  6:41 David Airlie
2001-05-14  7:13 ` Jonathan Larmour
2001-05-14  7:25   ` Gary Thomas
2001-05-14  7:31     ` Jonathan Larmour
2001-05-14  7:43       ` Mark Salter
2001-05-14  8:35     ` David Airlie
2001-05-14  7:52 ` Rafael Rodríguez Velilla

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