[PATCH 0/1] Solves th_generation overflow issue for single-core configuration

Gabriel Moyano gabriel.moyano at dlr.de
Fri May 27 07:57:36 UTC 2022


After increasing th_generation if an overflow happens its value should be 1 since 0 means that the timehand is being updated.
In single-core configurations, this wasn't corrected. This patch solves this issue for RTEMS 6.

Gabriel Moyano (1):
  kern_tc.c: th_generation starts with 1 after overflow for single-core

 cpukit/score/src/kern_tc.c | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

-- 
2.25.1



More information about the devel mailing list