summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/clockimpl.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-28cpukit/include/rtems/rtems/*.h: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2021-05-14rtems: Add TOD_Ticks_validationSebastian Huber1-12/+19
Replace defines with an enum. Update #4406.
2021-05-12rtems: Constify rtems_task_wake_when()Sebastian Huber1-5/+20
Add a parameter to _TOD_Validate() to disable the validation of the ticks member. There are two reasons for this change. Firstly, in rtems_task_wake_when() was a double check for time_buffer == NULL (one in rtems_task_wake_when() and one in _TOD_Validate()). Secondly, the ticks member is ignored by rtems_task_wake_when(). This was done with a write of zero to the ticks member and thus a modification of the user-provided structure. Now the structure is no longer modified. Using a mask parameter is quite efficient. You just have to load an immediate value and there are no additional branches in _TOD_Validate(). Close #4406.
2021-05-12_TOD_Validate(): Fix incorrect return codeFrank Kühndel1-7/+7
This patch fixes bug #4403. Directives * rtems_timer_fire_when() * rtems_timer_server_fire_when() * rtems_task_wake_when() are documented to return RTEMS_INVALID_ADDRESS when their time-of-day argument is NULL. But actually they return RTEMS_INVALID_CLOCK. To fix the issue this patch changes _TOD_Validate() to return a status code instead of just true/false. Close #4403
2020-12-02rtems: Canonicalize Doxygen @file commentsSebastian Huber1-2/+2
Use common phrases for the file brief descriptions. Update #3706.
2020-12-02rtems: Add <rtems/rtems/clockimpl.h>Sebastian Huber1-0/+73