2001-01-31 Joel Sherrill <joel@OARcorp.com>

* include/rtems/rtems/timer.h: Missed merging these modifications
	in previous merge of new timer functionality.
This commit is contained in:
Joel Sherrill
2002-02-01 14:09:51 +00:00
parent 485ed5cccd
commit be1feeedeb
4 changed files with 52 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2001-01-31 Joel Sherrill <joel@OARcorp.com>
* include/rtems/rtems/timer.h: Missed merging these modifications
in previous merge of new timer functionality.
2001-01-29 Joel Sherrill <joel@OARcorp.com>
* Fixed bug where resetting a timer that was not at the head

View File

@@ -318,6 +318,27 @@ rtems_status_code rtems_timer_initiate_server(
rtems_attribute attribute_set
);
/*
* rtems_timer_get_information
*
* DESCRIPTION:
*
* This routine implements the rtems_timer_get_information directive.
* This directive returns information about the timer.
*/
typedef struct {
Timer_Classes the_class;
Watchdog_Interval initial;
Watchdog_Interval start_time;
Watchdog_Interval stop_time;
} rtems_timer_information;
rtems_status_code rtems_timer_get_information(
Objects_Id id,
rtems_timer_information *the_info
);
#ifndef __RTEMS_APPLICATION__
#include <rtems/rtems/timer.inl>
#endif

View File

@@ -1,3 +1,8 @@
2001-01-31 Joel Sherrill <joel@OARcorp.com>
* include/rtems/rtems/timer.h: Missed merging these modifications
in previous merge of new timer functionality.
2001-01-29 Joel Sherrill <joel@OARcorp.com>
* Fixed bug where resetting a timer that was not at the head

View File

@@ -318,6 +318,27 @@ rtems_status_code rtems_timer_initiate_server(
rtems_attribute attribute_set
);
/*
* rtems_timer_get_information
*
* DESCRIPTION:
*
* This routine implements the rtems_timer_get_information directive.
* This directive returns information about the timer.
*/
typedef struct {
Timer_Classes the_class;
Watchdog_Interval initial;
Watchdog_Interval start_time;
Watchdog_Interval stop_time;
} rtems_timer_information;
rtems_status_code rtems_timer_get_information(
Objects_Id id,
rtems_timer_information *the_info
);
#ifndef __RTEMS_APPLICATION__
#include <rtems/rtems/timer.inl>
#endif