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]

Re: Interupps..


>>>>> "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
threads.

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

Bart Veer // eCos net maintainer

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