[ECOS] interrupt handling

Nick Garnett nickg@cygnus.co.uk
Tue Aug 29 07:00:00 GMT 2000

Fabrice Gautier <Fabrice_Gautier@sdesigns.com> writes:

> Hi,
> Is it possible to attach more than one cyg_interrupt object to the same
> vector?

Only if you enable the chaining option. However this usually also
reduces the number of real vectors in use, often down to one on
targets that need software decoding of interrupts.

> If not, what is the behaviour of a cyg_interrupt_attach when the vector is
> already attached?

It should give an error code. It may not on all platforms however.

> Is it possible to know the cyg_interrupt object(s) attached to a vector?

There is currently no way of enumerating the objects. eCos is meant to
be small enough, and applications sufficiently in control, that this
was considered unnecessary.

Nick Garnett, eCos Kernel Architect
Red Hat, Cambridge, UK

More information about the Ecos-discuss mailing list