This is the mail archive of the 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: ISR/DSR without kernel present

Bob Koninckx <> 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
> platform.

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      The eCos and RedBoot experts

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