Changeset c8f7b4e6 in rtems
- Timestamp:
- 11/26/08 16:38:06 (15 years ago)
- Branches:
- 4.10, 4.11, 5, master
- Children:
- 9d1af30
- Parents:
- 274ee57
- Location:
- cpukit
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r274ee57 rc8f7b4e6 1 2008-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 1 9 2008-11-25 Joel Sherrill <joel.sherrill@oarcorp.com> 2 10 -
cpukit/score/Makefile.am
r274ee57 rc8f7b4e6 174 174 ## WATCHDOG_C_FILES 175 175 libscore_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 177 178 178 179 ## USEREXT_C_FILES -
cpukit/score/include/rtems/score/watchdog.h
r274ee57 rc8f7b4e6 241 241 * @param[in] header is the watchdog chain to tickle 242 242 */ 243 244 243 void _Watchdog_Tickle ( 245 244 Chain_Control *header 246 245 ); 247 246 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 */ 261 void _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 */ 281 void _Watchdog_Report_chain( 282 const char *name, 283 Chain_Control *header 284 ); 285 248 286 #ifndef __RTEMS_APPLICATION__ 249 287 #include <rtems/score/watchdog.inl>
Note: See TracChangeset
for help on using the changeset viewer.