From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1864 invoked by alias); 4 Feb 2009 17:49:20 -0000 Received: (qmail 1854 invoked by uid 22791); 4 Feb 2009 17:49:19 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_83 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Feb 2009 17:49:12 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 05DF160B801D for ; Wed, 4 Feb 2009 17:49:10 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x09HTOmph6Hn; Wed, 4 Feb 2009 17:49:09 +0000 (GMT) Received: (from bartv@localhost) by hermione.bartv.net (8.14.3/8.14.3/Submit) id n14Hn7ZI026358; Wed, 4 Feb 2009 17:49:07 GMT Date: Wed, 04 Feb 2009 17:49:00 -0000 Message-Id: <200902041749.n14Hn7ZI026358@hermione.bartv.net> From: Bart Veer To: ecos-patches@sourceware.org Subject: update generic watchdog init pri Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2009-02/txt/msg00029.txt.bz2 This patch makes the generic watchdog code use a prioritized constructor. By implication the device drivers' init_hw() member functions will now run at CYG_INIT_DEV_WATCHDOG. Bart 2009-02-04 Bart Veer * src/watchdog.cxx: switch to CYG_INIT_DEV_WATCHDOG init priority. Index: src/watchdog.cxx =================================================================== RCS file: /cvs/ecos/ecos/packages/io/watchdog/current/src/watchdog.cxx,v retrieving revision 1.5 diff -u -p -r1.5 watchdog.cxx --- src/watchdog.cxx 29 Jan 2009 17:49:50 -0000 1.5 +++ src/watchdog.cxx 4 Feb 2009 17:43:20 -0000 @@ -63,7 +63,7 @@ // Statics // A static pointer to the single system defined watchdog device. -Cyg_Watchdog Cyg_Watchdog::watchdog; +Cyg_Watchdog Cyg_Watchdog::watchdog CYGBLD_ATTRIB_INIT_PRI( CYG_INIT_DEV_WATCHDOG ); // ------------------------------------------------------------------------- // Constructor