[RTEMS Project] #3175: Merge FreeBSD timecounter changes from 2015-01-20 to now

RTEMS trac trac at rtems.org
Thu Oct 12 05:08:33 UTC 2017


#3175: Merge FreeBSD timecounter changes from 2015-01-20 to now
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  4.12.0
Component:  score            |     Version:  4.12
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by Konstantin Belousov <kib@…>):

 In [changeset:"d310aa7c617c35c64c315b5c68753078c118b522/rtems"
 d310aa7/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="d310aa7c617c35c64c315b5c68753078c118b522"
 timecounter: Merge FreeBSD change r303382

 Hide the boottime and bootimebin globals, provide the getboottime(9) and
 getboottimebin(9) KPI. Change consumers of boottime to use the KPI. The
 variables were renamed to avoid shadowing issues with local variables of
 the same name.

 Issue is that boottime* should be adjusted from tc_windup(), which
 requires them to be members of the timehands structure.  As a
 preparation, this commit only introduces the interface.

 Some uses of boottime were found doubtful, e.g. NLM uses boottime to
 identify the system boot instance.  Arguably the identity should not
 change on the leap second adjustment, but the commit is about the
 timekeeping code and the consumers were kept bug-to-bug compatible.

 Tested by:      pho (as part of the bigger patch)
 Reviewed by:    jhb (same)
 Discussed with: bde
 Sponsored by:   The FreeBSD Foundation
 MFC after:      1 month
 X-Differential revision:        https://reviews.freebsd.org/D7302

 Update #3175.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3175#comment:14>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list