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]

Re: Temporarily ignoring interrupts


"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


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