This is the mail archive of the
mailing list for the eCos project.
Re: ISR/DSR without kernel present
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: bob dot koninckx at mech dot kuleuven dot ac dot be
- Cc: ecos-patches at sources dot redhat dot com
- Date: 30 Jul 2003 16:08:52 +0100
- Subject: Re: ISR/DSR without kernel present
- References: <firstname.lastname@example.org>
Bob Koninckx <email@example.com> writes:
> Hi all,
> It seems that all infrastructure to use ISR/DSR handling in systems
> without a kernel is already present in drv-api.c. Some conditional
> compiles however seem to prevent things from getting used. The attached
> patches make Redboot handle interrupts flawlessly on the powerpc
These patches seem fine from the point of view of getting interrupts
to work in non-kernel configurations. It was always intended that this
be the case, but we have never had any applications to test it. So
bitrot has set in.
However, I do question your desire to make RedBoot handle interrupts.
RedBoot was explicitly designed to work with interrupts disabled since
trying to debug code while interrupts are firing can be very hard, and
depending on interrupts working in order to debug makes things very
fragile. Also, most applications want to handle their own interrupts
and will steal the interrupt vectors from RedBoot at startup.
So, what do you actually want RedBoot interrupts for?
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts