mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/timespec.h: Remove unnecessary includes. Fix typo. * posix/include/rtems/posix/time.h, score/src/coretodget.c, score/src/coretodgetuptime.c: Add required include files which were formerly included from timespec.h
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/include/rtems/score/timespec.h: Remove unnecessary includes.
|
||||
Fix typo.
|
||||
* posix/include/rtems/posix/time.h, score/src/coretodget.c,
|
||||
score/src/coretodgetuptime.c: Add required include files which
|
||||
were formerly included from timespec.h
|
||||
|
||||
2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libfs/src/pipe/fifo.c: Do not include .inl files directly. Use .h
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#define _RTEMS_POSIX_TIME_H
|
||||
|
||||
#include <rtems/score/timespec.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
/** @brief Absolute Timeout Conversion Results
|
||||
*
|
||||
|
||||
@@ -31,12 +31,10 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
/** @brief Is Timespec Valid
|
||||
*
|
||||
* This method determines the validatity of a timespec.
|
||||
* This method determines the validity of a timespec.
|
||||
*
|
||||
* @param[in] time is the timespec instance to validate.
|
||||
*
|
||||
@@ -52,7 +50,7 @@ bool _Timespec_Is_valid(
|
||||
* This method is the less than operator for timespecs.
|
||||
*
|
||||
* @param[in] lhs is the left hand side timespec
|
||||
* @param[in] rhs is the left hand side timespec
|
||||
* @param[in] rhs is the right hand side timespec
|
||||
*
|
||||
* @return This method returns true if @a lhs is less than the @a rhs and
|
||||
* false otherwise.
|
||||
@@ -67,7 +65,7 @@ bool _Timespec_Less_than(
|
||||
* This method is the greater than operator for timespecs.
|
||||
*
|
||||
* @param[in] lhs is the left hand side timespec
|
||||
* @param[in] rhs is the left hand side timespec
|
||||
* @param[in] rhs is the right hand side timespec
|
||||
*
|
||||
* @return This method returns true if @a lhs is greater than the @a rhs and
|
||||
* false otherwise.
|
||||
@@ -82,7 +80,7 @@ bool _Timespec_Greater_than(
|
||||
* This method is the is equal to than operator for timespecs.
|
||||
*
|
||||
* @param[in] lhs is the left hand side timespec
|
||||
* @param[in] rhs is the left hand side timespec
|
||||
* @param[in] rhs is the right hand side timespec
|
||||
*
|
||||
* @return This method returns true if @a lhs is equal to @a rhs and
|
||||
* false otherwise.
|
||||
@@ -150,7 +148,7 @@ void _Timespec_Subtract(
|
||||
struct timespec *result
|
||||
);
|
||||
|
||||
/** @brief Divide Timespec By Integet
|
||||
/** @brief Divide Timespec By Integer
|
||||
*
|
||||
* This routine divides a timespec by an integer value. The expected
|
||||
* use is to assist in benchmark calculations where you typically
|
||||
@@ -174,7 +172,7 @@ void _Timespec_Divide_by_integer(
|
||||
* intended use is for calculating percentages to three decimal points.
|
||||
*
|
||||
* @param[in] lhs is the left hand number
|
||||
* @param[in] rhs is the righ hand number
|
||||
* @param[in] rhs is the right hand number
|
||||
* @param[in] ival_percentage is the integer portion of the average
|
||||
* @param[in] fval_percentage is the thousandths of percentage
|
||||
*
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Time of Day (TOD) Handler - get TOD
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* COPYRIGHT (c) 1989-2008.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/timespec.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
/*
|
||||
* _TOD_Get
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Time of Day (TOD) Handler - get uptime
|
||||
*/
|
||||
|
||||
/* COPYRIGHT (c) 1989-2007.
|
||||
/* COPYRIGHT (c) 1989-2008.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/timespec.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
/*
|
||||
* _TOD_Get_uptime
|
||||
|
||||
Reference in New Issue
Block a user