diff options
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/watchdogdrv.h | 21 |
2 files changed, 21 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 8b0a17bb1a..ec18e4cf5f 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,9 @@ 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com> + * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments. + +2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com> + * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline interface for Watchdog Driver. * libcsupport/include/rtems/watchdogdrv.h: New file. diff --git a/cpukit/libcsupport/include/rtems/watchdogdrv.h b/cpukit/libcsupport/include/rtems/watchdogdrv.h index e7e525d63d..309ebf7b81 100644 --- a/cpukit/libcsupport/include/rtems/watchdogdrv.h +++ b/cpukit/libcsupport/include/rtems/watchdogdrv.h @@ -39,17 +39,30 @@ extern "C" { * should be initialized as DISABLED since BSP initialization may * take longer than the timeout period for the watchdog. * - * @param[in] ma + * @param[in] major is the watchdog device major number + * @param[in] minor is the watchdog device minor number + * @param[in] arguments points to device driver arguments + */ rtems_device_driver Watchdog_initialize( rtems_device_major_number major, rtems_device_minor_number minor, void *arguments ); +/** + * @brief Watchdog Driver IO Control + * + * This method implements the IO Control device driver entry + * point for the watchdog hardware device. + * + * @param[in] major is the watchdog device major number + * @param[in] minor is the watchdog device minor number + * @param[in] arguments points to device driver arguments + */ rtems_device_driver Watchdog_control( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp + rtems_device_major_number major, + rtems_device_minor_number minor, + void *arguments ); #ifdef __cplusplus |