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]
Other format: [Raw text]

Re: Device driver question. Thanks


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 dot thomas at mind dot 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


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