summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/watchdogreportchain.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/watchdogreportchain.c')
-rw-r--r--cpukit/score/src/watchdogreportchain.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/cpukit/score/src/watchdogreportchain.c b/cpukit/score/src/watchdogreportchain.c
deleted file mode 100644
index edbc78197c..0000000000
--- a/cpukit/score/src/watchdogreportchain.c
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * @file
- *
- * @brief Report Information on a Watchdog Chain
- * @ingroup ScoreWatchdog
- */
-
-/* COPYRIGHT (c) 1989-2008.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/score/watchdogimpl.h>
-#include <rtems/score/isr.h>
-#include <rtems/score/threaddispatch.h>
-#include <rtems/bspIo.h>
-
-void _Watchdog_Report_chain(
- const char *name,
- Chain_Control *header
-)
-{
- ISR_Level level;
- Chain_Node *node;
-
- _Thread_Disable_dispatch();
- _ISR_Disable( level );
- printk( "Watchdog Chain: %s %p\n", name, header );
- if ( !_Chain_Is_empty( header ) ) {
- for ( node = _Chain_First( header ) ;
- node != _Chain_Tail(header) ;
- node = node->next )
- {
- Watchdog_Control *watch = (Watchdog_Control *) node;
-
- _Watchdog_Report( NULL, watch );
- }
- printk( "== end of %s \n", name );
- } else {
- printk( "Chain is empty\n" );
- }
- _ISR_Enable( level );
- _Thread_Enable_dispatch();
-}