[PATCH 0/3] Intro to Patch Series

Joel Sherrill joel at rtems.org
Thu Oct 3 22:08:10 UTC 2019


This is a collection of odds and ends that have been gathering dust.


While working on the paravirtualized RTEMS on Deos, we discovered
that the addition of the default extension used the BSP_INITIAL_EXTENSION
configuration parameter. This eliminated the possibility of the BSP
having its own which in fact, the Deos/RTEMS BSP does. 

The name I chose is awful. I think I would prefer to add one for
the BSP default extension to use and free up the old name. This
certainly would simplify documentation clean up. The documentation
still refers to BSP_INITIAL_EXTENSION as available for a BSP to

How about we add BSP_INITIAL_DEFAULT_EXTENSION or something and
use it for the default-initial-extension.h one?


In the Deos/RTEMS paravirtualized environment, an RTEMS application
can set the date and time across all virtualized environments if
it has been given permission to do so via the environment specific APIs.

This patch adds a hook called during _TOD_Set() to allow a
paravirtualized BSP to attempt to set the TOD in the hosting


While updating my tree, I noticed headers.am needed regenerating
from something I didn't touch. This does it.

Joel Sherrill (3):
  rtems/confdefs.h add another initial extension set
  Add hook for BSP to act when time is set
  cpukit/headers.am: Regenerate

 cpukit/headers.am                    |  2 ++
 cpukit/include/rtems/confdefs.h      |  3 +++
 cpukit/include/rtems/score/tod.h     | 51 ++++++++++++++++++++++++++++++++++++
 cpukit/include/rtems/score/todimpl.h |  8 +++++-
 cpukit/posix/src/clocksettime.c      |  6 ++++-
 cpukit/rtems/src/clockset.c          |  6 ++++-
 cpukit/score/src/coretodadjust.c     |  2 +-
 cpukit/score/src/coretodset.c        | 15 ++++++++++-
 8 files changed, 88 insertions(+), 5 deletions(-)
 create mode 100644 cpukit/include/rtems/score/tod.h


More information about the devel mailing list