Ignore:
Timestamp:
Mar 24, 2014, 6:53:45 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
1fac361
Parents:
e72bc923
git-author:
Sebastian Huber <sebastian.huber@…> (03/24/14 06:53:45)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/25/14 12:19:22)
Message:

score: Delete _Watchdog_Report()

Delete _Watchdog_Report_chain(). These two functions use printk() with
thread dispatching and interrupts disabled. So they are pretty useless
in real applications. They are not part of the application APIs. They
are only used in one test and do nothing useful in this test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/watchdogimpl.h

    re72bc923 r9b44339c  
    198198
    199199/**
    200  *  @brief Report information on a single watchdog instance.
    201  *
    202  *  This method prints a one line report on the watchdog instance
    203  *  provided.  The @a name may be used to identify the watchdog and
    204  *  a space will be printed after @a name if it is not NULL.
    205  *
    206  *  @param[in] name is a string to prefix the line with.  If NULL,
    207  *             nothing is printed.
    208  *  @param[in] watch is the watchdog instance to be printed.
    209  *
    210  *  @note This is a debug routine.  It uses printk() and prudence should
    211  *        exercised when using it.
    212  */
    213 void _Watchdog_Report(
    214   const char        *name,
    215   Watchdog_Control  *watch
    216 );
    217 
    218 /**
    219  *  @brief Report information on a watchdog chain.
    220  *
    221  *  This method prints report on the watchdog chain provided.
    222  *  The @a name may be used to identify the watchdog chain and
    223  *  a space will be printed after @a name if it is not NULL.
    224  *
    225  *  @param[in] name is a string to prefix the line with.  If NULL,
    226  *             nothing is printed.
    227  *  @param[in] header is the watchdog chain to be printed.
    228  *
    229  *  @note This is a debug routine.  It uses printk() and prudence should
    230  *        exercised when using it.  It also disables interrupts so the
    231  *        chain can be traversed in a single atomic pass.
    232  */
    233 void _Watchdog_Report_chain(
    234   const char        *name,
    235   Chain_Control     *header
    236 );
    237 
    238 /**
    239200 * This routine initializes the specified watchdog.  The watchdog is
    240201 * made inactive, the watchdog id and handler routine are set to the
Note: See TracChangeset for help on using the changeset viewer.