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: interrupt processing in RedBoot


Reason:
I already have created a working CHAR_DEVIO driver and
tested using the eCOS kernel, but also need to add
this to redboot due to the speed of the boot process.

Recommendations?

You don't need the whole kernel to handle interrupts. Just use the interface implemented in drv_api.c. Look in redboot/src/syscall.c for an example of cyg_drv_interrupt use in redboot.
To make sure interrupts work in non-kernel configs on your target try a minimal template build and run tests/hal/common/intr.c


Jani

--
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]