[ECOS] eCos Startup, where to enable interruots the first time
Mon Mar 28 09:52:00 GMT 2011
On Sat, 26 Mar 2011, Richard Rauch wrote:
> I'm in doubt, when while startup of eCos the interrupts should be enabled
> I have read somewhere in cyg_start or cyg_scheduler_start, but I cannot
> finde where exactely.
It seems it was here
> Of course, I can do it somewhere, but I want to follow the eCos standard.
Usually interrupt handlers are created, attached and configured during
system initialization, while global interrupts are still disabled. On
most hardware it will also be necessary to call cyg_interrupt_unmask,
since the sensible default for interrupt masking is to ignore any
interrupts for which no handler is installed.
% grep cyg_drv_interrupt_unmask $ECOS_REPOSITORY/devs
So, in the most cases you do not need to enable interrupts "by hands" if
you use eCos kernel, otherwise, take a look on these eCos tests (== eCos
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss