Re: [PATCH 3/3] rtems: Constify rtems_task_wake_when()

2021-05-11 Thread Sebastian Huber
On 11/05/2021 22:07, Gedare Bloom wrote: I'm not a big fan of the way this has been implemented. It exposes an internal implementation detail (how you mask the ticks). I don't quite see why it is being done. [...] diff --git a/cpukit/rtems/src/taskwakewhen.c b/cpukit/rtems/src/taskwakewhen.c

Re: [PATCH 3/3] rtems: Constify rtems_task_wake_when()

2021-05-11 Thread Gedare Bloom
I'm not a big fan of the way this has been implemented. It exposes an internal implementation detail (how you mask the ticks). I don't quite see why it is being done. On Tue, May 11, 2021 at 9:38 AM Sebastian Huber wrote: > > Add a parameter to _TOD_Validate() to disable the validation of the >

[PATCH 3/3] rtems: Constify rtems_task_wake_when()

2021-05-11 Thread Sebastian Huber
Add a parameter to _TOD_Validate() to disable the validation of the ticks member. Close #4406. --- bsps/arm/altera-cyclone-v/rtc/rtc.c| 3 +-- bsps/shared/dev/rtc/rtc-support.c | 2 +- cpukit/include/rtems/rtems/clockimpl.h | 13 - cpukit/include/rtems/rtems/tasks.h |