This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
on ARM: Using the FIQ vector
- To: Ecos Discuss <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] on ARM: Using the FIQ vector
- From: Dan Hovang <dan dot hovang at cpen dot com>
- Date: Fri, 28 Jan 2000 14:48:58 +0100
- Organization: CTechnologies AB
Hello,
I'm using the FIQ vector to process data which arrives at a very high
rate. My problem is that I'm unable to control the enable/disable FIQ
bit of the cpsr. At first, I figured it was just to exclude the FIQ
bit from the HAL_* macros but after some poking around I found that
the FIQ bit has a per-thread value which is set every time a new thread
is created (CPSR_THREAD_INITIAL in arm/arch/v1_2_1/src/hal_arch.h).
The only workaround I see would be to exclude the FIQ bit from
load_context in context.S aswell as from all relevant HAL_* macros.
It feels like kind of a 'hack' tough. Is there some code design with
the intention to solve this which I missed out?
/Dan