This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: need cdl help
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: "Koeller, T." <Thomas dot Koeller at baslerweb dot com>
- Cc: "ecos-discuss (E-Mail)" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 2 Apr 2003 11:03:27 +0200
- Subject: Re: [ECOS] need cdl help
- References: <850597605E79D21182830008C7A4B9CF1EB4258A@COMM1>
On Wed, Apr 02, 2003 at 10:52:02AM +0200, Koeller, T. wrote:
> Hi all,
>
> I have a question about the watchdog.cdl file located
> in io/watchdog/current/cdl/watchdog.cdl:
>
> The interface CYGINT_WATCHDOG_IMPLEMENTATIONS has a
> 'requires 1 == CYGINT_WATCHDOG_IMPLEMENTATIONS' constraint.
> I would have expected to find this constraint at the package
> level (since it is the package as a whole that requires exactly
> one implementation), not with the interface itself.
Im not a CDL expert....
I don't think it makes a difference if the requires is inside the
interface declaration or at the top of the package declaration. I
think keeping it all together inside the interface declaration makes
it easier to read, but thats a personal opinion.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss