[ECOS] need cdl help
Andrew Lunn
andrew.lunn@ascom.ch
Wed Apr 2 09:03:00 GMT 2003
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
More information about the Ecos-discuss
mailing list