This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Fix watchdog impl CDL requirement
- From: Jonathan Larmour <jlarmour at jifvik dot org>
- To: ecos-patches at sources dot redhat dot com
- Date: Wed, 2 Apr 2003 13:33:47 +0100
- Subject: Fix watchdog impl CDL requirement
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/watchdog/current/ChangeLog,v
retrieving revision 1.3
diff -u -5 -p -r1.3 ChangeLog
--- ChangeLog 23 May 2002 23:06:38 -0000 1.3
+++ ChangeLog 2 Apr 2003 12:33:46 -0000
@@ -1,5 +1,12 @@
+2003-04-02 Jonathan Larmour <jifl at eCosCentric dot com>
+
+ * cdl/watchdog.cdl: Watchdog implementation requirement should be
+ in package, not interface itself. *Note* must be requires, not
+ active_if otherwise turning off the emulated watchdog means you
+ can never turn it on again!
+
2000-05-31 Jesper Skov <jskov at redhat dot com>
* tests/watchdog.cxx: fix comment.
* tests/watchdog2.cxx:
Index: cdl/watchdog.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/watchdog/current/cdl/watchdog.cdl,v
retrieving revision 1.3
diff -u -5 -p -r1.3 watchdog.cdl
--- cdl/watchdog.cdl 23 May 2002 23:06:39 -0000 1.3
+++ cdl/watchdog.cdl 2 Apr 2003 12:33:46 -0000
@@ -51,10 +51,11 @@
cdl_package CYGPKG_IO_WATCHDOG {
display "Watchdog IO device"
define_header watchdog.h
include_dir cyg/io
+ requires 1 == CYGINT_WATCHDOG_IMPLEMENTATIONS
description "
The watchdog IO device allows applications to make use of a
timer facility. Depending on the underlying hardware device
driver, a watchdog timeout will either cause a board reset
or an action routine to be called. The application must call
@@ -71,11 +72,10 @@ cdl_package CYGPKG_IO_WATCHDOG {
}
cdl_interface CYGINT_WATCHDOG_IMPLEMENTATIONS {
display "Number of watchdog implementations"
no_define
- requires 1 == CYGINT_WATCHDOG_IMPLEMENTATIONS
}
cdl_component CYGPKG_IO_WATCHDOG_IMPLEMENTATION {
display "Watchdog implementation"
flavor none