mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-20 00:50:07 +08:00
These changes eliminate the year 2100 as a limit for TOD. The new limit is the year 4096. This limit is not due to any RTEMS limitation but just before the year 4183 when the rounding error in the length of the year adds up to an entire day. See https://de.wikipedia.org/wiki/Schaltjahr for details. There are still limits on Classic APIs which use the 32-bit rtems_interval type. This corresponds to the Score Watchdog_Interval type. This impacts delays, timeouts, and Classic API "after" timers. Closes #5143 Co-authored-by: Joel Sherrill <joel@rtems.org> Co-authored-by: Gedare Bloom <gedare@rtems.org>