[ECOS] Interupps..

Bart Veer bartv@redhat.com
Mon Aug 21 06:50:00 GMT 2000

>>>>> "Boris" == Boris V Guzhov <borg@int.spb.ru> writes:

    Boris> In eCos there are the cyg_interrupt_...() functions.
    Boris> Also there are the cyg_drv_interrupt...() functions.

    Boris> What distinction between them?

eCos is a configurable system, and if you want to you can build a
configuration without the eCos kernel - just the HAL packages, device
drivers, maybe the C library, ...

The cyg_interrupt_...() functions are part of the kernel, so may not
always be present. However some device drivers need the functionality
they provide. The cyg_drv_interrupt...() functions are always present:
if the kernel is loaded then they just are aliases for the kernel
functions; otherwise they provide an alternative and typically much
simpler implementation, e.g. there is no need to worry about multiple

See the section "Device Driver Interface to the Kernel" in the eCos
reference manual for more details.

Bart Veer // eCos net maintainer

More information about the Ecos-discuss mailing list