This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Temporarily ignoring interrupts
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Miguel J. Vega" <mserrano at engin dot umich dot edu>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 29 Jul 2004 08:53:17 +0100
- Subject: Re: [ECOS] Temporarily ignoring interrupts
- References: <Pine.GSO.4.58.0407282155110.27579@azure.engin.umich.edu>
"Miguel J. Vega" <mserrano@engin.umich.edu> writes:
> Hi everyone,
>
> There will be certain parts of our code that need to execute without
> being interrupted by interrupts. The parts that need to go
> un-interrupted will most likely be relatively short. Is there a
> reccomended way to temporarily ignore interrupts in eCos? I was thinking
> about just turning off the individual interrupt enables at the register
> level before and then turning them on after. Is there a better method?
The standard API calls should handle all this for you.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss