Changeset c8f7b4e6 in rtems


Ignore:
Timestamp:
Nov 26, 2008, 4:38:06 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
9d1af30
Parents:
274ee57
Message:

2008-11-26 Joel Sherrill <joel.sherrill@…>

  • score/Makefile.am, score/include/rtems/score/watchdog.h: Add _Watchdog_Report and _Watchdog_Report_chain as debug assist routines. They are NOT to be used in directives.
  • score/src/watchdogreport.c, score/src/watchdogreportchain.c: New files.
Location:
cpukit
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r274ee57 rc8f7b4e6  
     12008-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * score/Makefile.am, score/include/rtems/score/watchdog.h: Add
     4        _Watchdog_Report and _Watchdog_Report_chain as debug assist routines.
     5        They are NOT to be used in directives.
     6        * score/src/watchdogreport.c, score/src/watchdogreportchain.c:
     7        New files.
     8
    192008-11-25      Joel Sherrill <joel.sherrill@oarcorp.com>
    210
  • cpukit/score/Makefile.am

    r274ee57 rc8f7b4e6  
    174174## WATCHDOG_C_FILES
    175175libscore_a_SOURCES += src/watchdog.c src/watchdogadjust.c \
    176     src/watchdoginsert.c src/watchdogremove.c src/watchdogtickle.c
     176    src/watchdoginsert.c src/watchdogremove.c src/watchdogtickle.c \
     177    src/watchdogreport.c src/watchdogreportchain.c
    177178
    178179## USEREXT_C_FILES
  • cpukit/score/include/rtems/score/watchdog.h

    r274ee57 rc8f7b4e6  
    241241 *  @param[in] header is the watchdog chain to tickle
    242242 */
    243 
    244243void _Watchdog_Tickle (
    245244  Chain_Control *header
    246245);
    247246
     247/**
     248 *  @brief Report Information on a Single Watchdog Instance
     249 *
     250 *  This method prints a one line report on the watchdog instance
     251 *  provided.  The @a name may be used to identify the watchdog and
     252 *  a space will be printed after @a name if it is not NULL.
     253 *
     254 *  @param[in] name is a string to prefix the line with.  If NULL,
     255 *             nothing is printed.
     256 *  @param[in] watch is the watchdog instance to be printed.
     257 *
     258 *  @note This is a debug routine.  It uses printk() and prudence should
     259 *        exercised when using it.
     260 */
     261void _Watchdog_Report(
     262  const char        *name,
     263  Watchdog_Control  *watch
     264);
     265
     266/**
     267 *  @brief Report Information on a Watchdog Chain
     268 *
     269 *  This method prints report on the watchdog chain provided.
     270 *  The @a name may be used to identify the watchdog chain and
     271 *  a space will be printed after @a name if it is not NULL.
     272 *
     273 *  @param[in] name is a string to prefix the line with.  If NULL,
     274 *             nothing is printed.
     275 *  @param[in] watch is the watchdog chain to be printed.
     276 *
     277 *  @note This is a debug routine.  It uses printk() and prudence should
     278 *        exercised when using it.  It also disables interrupts so the
     279 *        chain can be traversed in a single atomic pass.
     280 */
     281void _Watchdog_Report_chain(
     282  const char        *name,
     283  Chain_Control     *header
     284);
     285
    248286#ifndef __RTEMS_APPLICATION__
    249287#include <rtems/score/watchdog.inl>
Note: See TracChangeset for help on using the changeset viewer.