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: need cdl help


> Actually it is a bit of a mistake. When the interface has no 
> implementations, the requires will have no effect because the interface 
> will then be inactive (in the CDL sense). So in practice this would permit 
> no watchdog implementations.

What is the logic behind this? To me, 0 is just as valid as any other
number for an interface ? Can you still access an interfaces value
when its disabled? I guess so, other wise

     requires 1==CYGINT_WATCHDOG_IMPLEMENTATION

in the package would not correctly evaluate when it was zero.

   Andrew

-- 
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]