This is the mail archive of the ecos-patches@sourceware.org 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]

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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]