Files
rtems/bsps/shared/dev/rtc
Sebastian Huber 523867de9d rtems: Constify rtems_task_wake_when()
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 21:25:37 +02:00
..
2020-12-02 07:45:53 +01:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00
2018-04-04 10:13:28 +02:00

This is supported by the mc146818a driver.