From 08bd7d36cee1b041d54ee9dbace86a1b810938af Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 12 Nov 2019 09:33:41 -0600 Subject: Add TOD Hooks to allow BSP to take action when TOD is set Two use cases were envisioned for this. 1) a BSP or application which desires to update a real-time clock when the RTEMS TOD is set. 2) a paravirtualized BSP can use this to propagate setting the time in an RTEMS application to the hosting environment. This enables the entire set of applications in the virtualized environments to have a single consistent TOD. --- testsuites/sptests/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'testsuites/sptests/Makefile.am') diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am index 09751b6d58..f127c2b2e8 100644 --- a/testsuites/sptests/Makefile.am +++ b/testsuites/sptests/Makefile.am @@ -707,6 +707,15 @@ spclock_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spclock_err02) \ $(support_includes) endif +if TEST_spclock_todhook01 +sp_tests += spclock_todhook01 +sp_screens += spclock_todhook01/spclock_todhook01.scn +sp_docs += spclock_todhook01/spclock_todhook01.doc +spclock_todhook01_SOURCES = spclock_todhook01/init.c +spclock_todhook01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spclock_todhook01) \ + $(support_includes) +endif + if TEST_spconfig01 sp_tests += spconfig01 sp_screens += spconfig01/spconfig01.scn -- cgit v1.2.3