[ECOS] Device driver question. Thanks

Gary D. Thomas gary.thomas@mind.be
Sun Apr 13 13:28:00 GMT 2003

On Sun, 2003-04-13 at 06:55, Qiang Huang wrote:
> Hi all:
>    I am trying to understand device driver for eCOS. I have a question that
> I can't get the answer from the manual, hope anyone can help me. Thanks.
> what is the difference between cyg_drv_interrupt_xxxx( ) and
> cyg_interrupt_xxxx( ) functions? When are those used? Why do we need those
> two different versions functions?

The difference is that the cyg_drv_xxx functions can be used
even when there is no kernel [package].  All drivers should
use these so that they can still be built and used, regardless
of the target environment.

|       Mind: Embedded Linux and eCos Development        |
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list