This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Temporarily ignoring interrupts
- From: "Miguel J. Vega" <mserrano at engin dot umich dot edu>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 28 Jul 2004 22:01:54 -0400 (EDT)
- Subject: [ECOS] Temporarily ignoring interrupts
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?
Miguel J. Vega
FEGI C&DH Team
University of Michigan
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss