This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Device driver question. Thanks
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: Qiang Huang <jameshq at liverpool dot ac dot uk>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 13 Apr 2003 07:28:53 -0600
- Subject: Re: [ECOS] Device driver question. Thanks
- References: <BDEPKKELILOKGOAOMONOGEKCCCAA.jameshq@liv.ac.uk>
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