This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
update generic wallclock package
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ecos-patches at sourceware dot org
- Date: Wed, 4 Feb 2009 17:17:50 GMT
- Subject: update generic wallclock package
This switches the generic wallclock code, and by implication nearly
all walclock drivers since they initialize via the init_hw_seconds()
member function, to use CYG_INIT_DEV_WALLCLOCK.
Bart
2009-02-04 Bart Veer <bartv@ecoscentric.com>
* src/wallclock.cxx: switch to CYG_INIT_DEV_WALLCLOCK init
priority.
Index: src/wallclock.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/wallclock/current/src/wallclock.cxx,v
retrieving revision 1.8
diff -u -p -r1.8 wallclock.cxx
--- src/wallclock.cxx 29 Jan 2009 17:49:49 -0000 1.8
+++ src/wallclock.cxx 4 Feb 2009 17:14:26 -0000
@@ -79,7 +79,7 @@
//-----------------------------------------------------------------------------
// Local static variables
-static Cyg_WallClock wallclock_instance CYGBLD_ATTRIB_INIT_AFTER( CYG_INIT_CLOCK );
+static Cyg_WallClock wallclock_instance CYGBLD_ATTRIB_INIT_PRI( CYG_INIT_DEV_WALLCLOCK );
#ifndef CYGSEM_WALLCLOCK_SET_GET_MODE
static cyg_uint32 epoch_ticks;