mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
score: Initialize timehand generation to UINT_MAX
This leads to a timehand generation overflow right at the system start and helps to get code coverage in test programs.
This commit is contained in:
committed by
Moyano, Gabriel
parent
1640657022
commit
68a3658d44
@@ -218,7 +218,7 @@ static struct timehands th0 = {
|
||||
.th_counter = &dummy_timecounter,
|
||||
.th_scale = (uint64_t)-1 / 1000000,
|
||||
.th_offset = { .sec = 1 },
|
||||
.th_generation = 1,
|
||||
.th_generation = UINT_MAX,
|
||||
#ifdef __rtems__
|
||||
.th_bintime = { .sec = TOD_SECONDS_1970_THROUGH_1988 },
|
||||
.th_microtime = { TOD_SECONDS_1970_THROUGH_1988, 0 },
|
||||
|
||||
Reference in New Issue
Block a user