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]
Other format: [Raw text]

properly handling arm FIQ


Hi,

I seem to be missing something about how irqs and fiqs are handled in ecos on an arm7, hopefully someone can enlighten me.

1) i'm noticing that in the FIQ handler in vectors.S, it masks IRQs. my fiq handler doesn't do this - is it actually possible for a standard IRQ to interrupt a FIQ?

2) i'm also noticing that in the IRQ handler in vectors.S it masks FIQs, same as HAL_DISABLE_INTERRUPTS(). that is, unless you build the i2s_audio_test for edb7xxx, where hal_disable_interrupts is redefined to not mask off the fiq. any potential harm in changing the IRQ handler to leave the FIQ alone?

it seems like the fiq should be uninterruptable, but should be allowed to interrupt standard interrupts.


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


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