source: rtems/cpukit/score/Makefile.am @ 94d45f6

4.115
Last change on this file since 94d45f6 was 875fff0a, checked in by Joel Sherrill <joel.sherrill@…>, on 07/23/14 at 20:35:35

Add _TOD_Adjust to SCORE TOD Handler.

This lays the proper structure for doing future work on
time adjustment algorithms. Any TOD adjustments should be
requested at the API level and performed at the SCORE level.

Additionally updated a test.

  • Property mode set to 100644
File size: 14.7 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4SUBDIRS = cpu
5
6## include
7
8include_rtemsdir = $(includedir)/rtems
9
10include_rtems_HEADERS = include/rtems/debug.h
11include_rtems_HEADERS += include/rtems/system.h
12include_rtems_HEADERS += include/rtems/seterr.h
13
14include_rtems_scoredir = $(includedir)/rtems/score
15
16include_rtems_score_HEADERS = include/rtems/score/address.h
17include_rtems_score_HEADERS += include/rtems/score/apiext.h
18include_rtems_score_HEADERS += include/rtems/score/apimutex.h
19include_rtems_score_HEADERS += include/rtems/score/assert.h
20include_rtems_score_HEADERS += include/rtems/score/chain.h
21include_rtems_score_HEADERS += include/rtems/score/chainimpl.h
22include_rtems_score_HEADERS += include/rtems/score/context.h
23include_rtems_score_HEADERS += include/rtems/score/copyrt.h
24include_rtems_score_HEADERS += include/rtems/score/corebarrier.h
25include_rtems_score_HEADERS += include/rtems/score/corebarrierimpl.h
26include_rtems_score_HEADERS += include/rtems/score/coremsg.h
27include_rtems_score_HEADERS += include/rtems/score/coremsgimpl.h
28include_rtems_score_HEADERS += include/rtems/score/coremutex.h
29include_rtems_score_HEADERS += include/rtems/score/coremuteximpl.h
30include_rtems_score_HEADERS += include/rtems/score/coresem.h
31include_rtems_score_HEADERS += include/rtems/score/coresemimpl.h
32include_rtems_score_HEADERS += include/rtems/score/cpuset.h
33include_rtems_score_HEADERS += include/rtems/score/cpusetimpl.h
34include_rtems_score_HEADERS += include/rtems/score/heap.h
35include_rtems_score_HEADERS += include/rtems/score/heapimpl.h
36include_rtems_score_HEADERS += include/rtems/score/protectedheap.h
37include_rtems_score_HEADERS += include/rtems/score/interr.h
38include_rtems_score_HEADERS += include/rtems/score/isr.h
39include_rtems_score_HEADERS += include/rtems/score/isrlevel.h
40include_rtems_score_HEADERS += include/rtems/score/isrlock.h
41include_rtems_score_HEADERS += include/rtems/score/freechain.h
42include_rtems_score_HEADERS += include/rtems/score/mrsp.h
43include_rtems_score_HEADERS += include/rtems/score/mrspimpl.h
44include_rtems_score_HEADERS += include/rtems/score/object.h
45include_rtems_score_HEADERS += include/rtems/score/objectimpl.h
46include_rtems_score_HEADERS += include/rtems/score/onceimpl.h
47include_rtems_score_HEADERS += include/rtems/score/percpu.h
48include_rtems_score_HEADERS += include/rtems/score/priority.h
49include_rtems_score_HEADERS += include/rtems/score/prioritybitmap.h
50include_rtems_score_HEADERS += include/rtems/score/prioritybitmapimpl.h
51include_rtems_score_HEADERS += include/rtems/score/profiling.h
52include_rtems_score_HEADERS += include/rtems/score/rbtree.h
53include_rtems_score_HEADERS += include/rtems/score/rbtreeimpl.h
54include_rtems_score_HEADERS += include/rtems/score/resource.h
55include_rtems_score_HEADERS += include/rtems/score/resourceimpl.h
56include_rtems_score_HEADERS += include/rtems/score/scheduler.h
57include_rtems_score_HEADERS += include/rtems/score/schedulerimpl.h
58include_rtems_score_HEADERS += include/rtems/score/schedulercbs.h
59include_rtems_score_HEADERS += include/rtems/score/schedulercbsimpl.h
60include_rtems_score_HEADERS += include/rtems/score/scheduleredf.h
61include_rtems_score_HEADERS += include/rtems/score/scheduleredfimpl.h
62include_rtems_score_HEADERS += include/rtems/score/schedulerpriority.h
63include_rtems_score_HEADERS += include/rtems/score/schedulerpriorityimpl.h
64include_rtems_score_HEADERS += include/rtems/score/schedulerprioritysmp.h
65include_rtems_score_HEADERS += include/rtems/score/schedulersimple.h
66include_rtems_score_HEADERS += include/rtems/score/schedulersimpleimpl.h
67include_rtems_score_HEADERS += include/rtems/score/schedulersmp.h
68include_rtems_score_HEADERS += include/rtems/score/schedulersmpimpl.h
69include_rtems_score_HEADERS += include/rtems/score/smp.h
70include_rtems_score_HEADERS += include/rtems/score/smpbarrier.h
71include_rtems_score_HEADERS += include/rtems/score/smplock.h
72include_rtems_score_HEADERS += include/rtems/score/smpimpl.h
73include_rtems_score_HEADERS += include/rtems/score/stack.h
74include_rtems_score_HEADERS += include/rtems/score/stackimpl.h
75include_rtems_score_HEADERS += include/rtems/score/states.h
76include_rtems_score_HEADERS += include/rtems/score/statesimpl.h
77include_rtems_score_HEADERS += include/rtems/score/sysstate.h
78include_rtems_score_HEADERS += include/rtems/score/thread.h
79include_rtems_score_HEADERS += include/rtems/score/threadimpl.h
80include_rtems_score_HEADERS += include/rtems/score/threaddispatch.h
81include_rtems_score_HEADERS += include/rtems/score/threadq.h
82include_rtems_score_HEADERS += include/rtems/score/threadqimpl.h
83include_rtems_score_HEADERS += include/rtems/score/threadsync.h
84include_rtems_score_HEADERS += include/rtems/score/timespec.h
85include_rtems_score_HEADERS += include/rtems/score/timestamp.h
86include_rtems_score_HEADERS += include/rtems/score/timestamp64.h
87include_rtems_score_HEADERS += include/rtems/score/tls.h
88include_rtems_score_HEADERS += include/rtems/score/tod.h
89include_rtems_score_HEADERS += include/rtems/score/todimpl.h
90include_rtems_score_HEADERS += include/rtems/score/userext.h
91include_rtems_score_HEADERS += include/rtems/score/userextimpl.h
92include_rtems_score_HEADERS += include/rtems/score/watchdog.h
93include_rtems_score_HEADERS += include/rtems/score/watchdogimpl.h
94include_rtems_score_HEADERS += include/rtems/score/wkspace.h
95include_rtems_score_HEADERS += include/rtems/score/cpuopts.h
96include_rtems_score_HEADERS += include/rtems/score/basedefs.h
97
98if HAS_PTHREADS
99include_rtems_score_HEADERS += include/rtems/score/corespinlock.h
100include_rtems_score_HEADERS += include/rtems/score/corespinlockimpl.h
101include_rtems_score_HEADERS += include/rtems/score/corerwlock.h
102include_rtems_score_HEADERS += include/rtems/score/corerwlockimpl.h
103endif
104
105if HAS_MP
106# We only build multiprocessing related files if HAS_MP was defined
107include_rtems_score_HEADERS += include/rtems/score/mpci.h
108include_rtems_score_HEADERS += include/rtems/score/mpciimpl.h
109include_rtems_score_HEADERS += include/rtems/score/mppkt.h
110include_rtems_score_HEADERS += include/rtems/score/objectmp.h
111include_rtems_score_HEADERS += include/rtems/score/threadmp.h
112endif
113
114if HAS_SMP
115include_rtems_score_HEADERS += include/rtems/score/atomic.h
116include_rtems_score_HEADERS += include/rtems/score/cpustdatomic.h
117include_rtems_score_HEADERS += include/rtems/score/schedulerprioritysmpimpl.h
118include_rtems_score_HEADERS += include/rtems/score/schedulerpriorityaffinitysmp.h
119include_rtems_score_HEADERS += include/rtems/score/schedulersimplesmp.h
120endif
121
122## src
123
124noinst_LIBRARIES = libscore.a
125libscore_a_SOURCES =
126libscore_a_CPPFLAGS = $(AM_CPPFLAGS)
127
128# We only build multiprocessing related files if HAS_MP was defined
129if HAS_MP
130libscore_a_SOURCES += src/mpci.c src/objectmp.c src/threadmp.c
131endif
132
133if HAS_SMP
134libscore_a_SOURCES += src/percpustatewait.c
135libscore_a_SOURCES += src/profilingsmplock.c
136libscore_a_SOURCES += src/schedulerchangeroot.c
137libscore_a_SOURCES += src/schedulerpriorityaffinitysmp.c
138libscore_a_SOURCES += src/schedulerprioritysmp.c
139libscore_a_SOURCES += src/schedulersimplesmp.c
140libscore_a_SOURCES += src/schedulersmpdebug.c
141libscore_a_SOURCES += src/smp.c
142libscore_a_SOURCES += src/cpuset.c
143libscore_a_SOURCES += src/cpusetprintsupport.c
144libscore_a_SOURCES += src/schedulerdefaultaskforhelp.c
145libscore_a_SOURCES += src/schedulerdefaultgetaffinity.c
146libscore_a_SOURCES += src/schedulerdefaultsetaffinity.c
147libscore_a_SOURCES += src/schedulersmpstartidle.c
148endif
149
150## CORE_APIMUTEX_C_FILES
151libscore_a_SOURCES += src/apimutex.c \
152    src/apimutexlock.c src/apimutexunlock.c
153
154## CORE_BARRIER_C_FILES
155libscore_a_SOURCES += src/corebarrier.c src/corebarrierrelease.c \
156    src/corebarrierwait.c
157
158## CORE_MESSAGE_QUEUE_C_FILES
159libscore_a_SOURCES += src/coremsg.c src/coremsgbroadcast.c \
160    src/coremsgclose.c src/coremsgflush.c src/coremsgflushwait.c \
161    src/coremsginsert.c src/coremsgflushsupp.c src/coremsgseize.c \
162    src/coremsgsubmit.c
163
164## CORE_MUTEX_C_FILES
165libscore_a_SOURCES += src/coremutex.c src/coremutexflush.c \
166    src/coremutexseize.c src/coremutexsurrender.c \
167    src/coremutexseizeintr.c
168
169## CORE_PERCPU_C_FILES
170libscore_a_SOURCES += src/percpu.c
171libscore_a_SOURCES += src/percpuasm.c
172
173## CORE_RWLOCK_C_FILES
174if HAS_PTHREADS
175libscore_a_SOURCES += src/corerwlock.c src/corerwlockobtainread.c \
176    src/corerwlockobtainwrite.c src/corerwlockrelease.c src/corerwlocktimeout.c
177endif
178
179## CORE_SEMAPHORE_C_FILES
180libscore_a_SOURCES += src/coresem.c src/coresemflush.c src/coresemseize.c \
181    src/coresemsurrender.c
182
183## CORE_SPINLOCK_C_FILES
184if HAS_PTHREADS
185libscore_a_SOURCES += src/corespinlock.c src/corespinlockrelease.c \
186    src/corespinlockwait.c
187endif
188
189## HEAP_C_FILES
190libscore_a_SOURCES += src/heap.c src/heapallocate.c src/heapextend.c \
191    src/heapfree.c src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \
192    src/heapgetfreeinfo.c src/heapresizeblock.c src/heapiterate.c \
193    src/heapgreedy.c src/heapnoextend.c
194
195## OBJECT_C_FILES
196libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \
197    src/objectextendinformation.c src/objectfree.c src/objectget.c \
198    src/objectgetisr.c src/objectgetnext.c src/objectinitializeinformation.c \
199    src/objectnametoid.c src/objectnametoidstring.c \
200    src/objectshrinkinformation.c src/objectgetnoprotection.c \
201    src/objectidtoname.c src/objectgetnameasstring.c src/objectsetname.c \
202    src/objectgetinfo.c src/objectgetinfoid.c src/objectapimaximumclass.c \
203    src/objectnamespaceremove.c \
204    src/objectactivecount.c
205
206## SCHEDULER_C_FILES
207libscore_a_SOURCES += src/log2table.c
208libscore_a_SOURCES += src/scheduler.c
209libscore_a_SOURCES += src/schedulergetaffinity.c
210libscore_a_SOURCES += src/schedulersetaffinity.c
211libscore_a_SOURCES += src/schedulerdefaultnodedestroy.c
212libscore_a_SOURCES += src/schedulerdefaultnodeinit.c
213libscore_a_SOURCES += src/schedulerdefaultreleasejob.c
214libscore_a_SOURCES += src/schedulerdefaultschedule.c
215libscore_a_SOURCES += src/schedulerdefaultstartidle.c
216libscore_a_SOURCES += src/schedulerdefaulttick.c
217libscore_a_SOURCES += src/schedulerdefaultupdate.c
218
219## SCHEDULERPRIORITY_C_FILES
220libscore_a_SOURCES += src/schedulerpriority.c \
221    src/schedulerpriorityblock.c \
222    src/schedulerprioritychangepriority.c \
223    src/schedulerpriorityprioritycompare.c \
224    src/schedulerpriorityschedule.c \
225    src/schedulerpriorityunblock.c \
226    src/schedulerpriorityupdate.c \
227    src/schedulerpriorityyield.c
228
229## SCHEDULERSIMPLE_C_FILES
230libscore_a_SOURCES += src/schedulersimple.c \
231    src/schedulersimpleblock.c \
232    src/schedulersimplechangepriority.c \
233    src/schedulersimpleschedule.c \
234    src/schedulersimpleunblock.c \
235    src/schedulersimpleyield.c
236
237## SCHEDULEREDF_C_FILES
238libscore_a_SOURCES += src/scheduleredf.c \
239    src/scheduleredfnodeinit.c \
240    src/scheduleredfblock.c \
241    src/scheduleredfchangepriority.c \
242    src/scheduleredfprioritycompare.c \
243    src/scheduleredfreleasejob.c \
244    src/scheduleredfschedule.c \
245    src/scheduleredfunblock.c \
246    src/scheduleredfupdate.c \
247    src/scheduleredfyield.c
248
249## SCHEDULERCBS_C_FILES
250libscore_a_SOURCES += src/schedulercbs.c \
251    src/schedulercbsnodeinit.c \
252    src/schedulercbsattachthread.c \
253    src/schedulercbscleanup.c \
254    src/schedulercbscreateserver.c \
255    src/schedulercbsdestroyserver.c \
256    src/schedulercbsdetachthread.c \
257    src/schedulercbsgetapprovedbudget.c \
258    src/schedulercbsgetexecutiontime.c \
259    src/schedulercbsgetparameters.c \
260    src/schedulercbsgetremainingbudget.c \
261    src/schedulercbsgetserverid.c \
262    src/schedulercbssetparameters.c \
263    src/schedulercbsreleasejob.c \
264    src/schedulercbsunblock.c
265
266## PROTECTED_HEAP_C_FILES
267libscore_a_SOURCES += src/pheapallocate.c \
268    src/pheapextend.c src/pheapfree.c src/pheapgetsize.c \
269    src/pheapgetblocksize.c src/pheapgetfreeinfo.c src/pheapgetinfo.c \
270    src/pheapinit.c src/pheapresizeblock.c src/pheapwalk.c src/pheapiterate.c
271
272## FREECHAIN_C_FILES
273libscore_a_SOURCES += src/freechain.c
274
275## RBTREE_C_FILES
276libscore_a_SOURCES += src/rbtree.c \
277    src/rbtreeextract.c src/rbtreefind.c \
278    src/rbtreeinsert.c src/rbtreeiterate.c src/rbtreenext.c
279
280## THREAD_C_FILES
281libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \
282    src/threadclearstate.c src/threadcreateidle.c \
283    src/threaddelayended.c src/threaddispatch.c \
284    src/threadenabledispatch.c src/threaddisabledispatch.c \
285    src/threadget.c src/threadhandler.c src/threadinitialize.c \
286    src/threadloadenv.c src/threadready.c \
287    src/threadrestart.c src/threadsetpriority.c \
288    src/threadsetstate.c \
289    src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \
290    src/threadstartmultitasking.c src/iterateoverthreads.c \
291    src/threadblockingoperationcancel.c
292libscore_a_SOURCES += src/threadyield.c
293
294if HAS_SMP
295libscore_a_SOURCES += src/smpbarrierwait.c
296libscore_a_SOURCES += src/threaddispatchdisablelevel.c
297endif
298
299## THREADQ_C_FILES
300libscore_a_SOURCES += src/threadq.c src/threadqdequeue.c \
301    src/threadqenqueue.c src/threadqextract.c src/threadqrequeue.c \
302    src/threadqextractwithproxy.c src/threadqfirst.c \
303    src/threadqflush.c src/threadqprocesstimeout.c src/threadqtimeout.c
304
305## TIMESPEC_C_FILES
306libscore_a_SOURCES += src/timespecaddto.c src/timespecfromticks.c \
307    src/timespecisvalid.c src/timespeclessthan.c \
308    src/timespecsubtract.c src/timespectoticks.c src/timespecdivide.c \
309    src/timespecdividebyinteger.c src/timespecgetasnanoseconds.c
310
311## TIMESTAMP_INT64_C_FILES
312libscore_a_SOURCES += src/ts64addto.c src/ts64dividebyinteger.c \
313    src/ts64divide.c src/ts64equalto.c \
314    src/ts64getnanoseconds.c src/ts64getseconds.c \
315    src/ts64lessthan.c \
316    src/ts64set.c src/ts64settozero.c src/ts64subtract.c \
317    src/ts64toticks.c src/ts64totimespec.c src/ts64totimeval.c
318
319## TOD_C_FILES
320libscore_a_SOURCES += src/coretod.c src/coretodset.c src/coretodget.c \
321    src/coretodgetuptimetimespec.c src/coretodtickle.c \
322    src/coretodsecondssinceepoch.c src/coretodtickspersec.c \
323    src/coretodadjust.c
324
325## WATCHDOG_C_FILES
326libscore_a_SOURCES += src/watchdog.c src/watchdogadjust.c \
327    src/watchdogadjusttochain.c src/watchdoginsert.c src/watchdogremove.c \
328    src/watchdogtickle.c
329
330## USEREXT_C_FILES
331libscore_a_SOURCES += src/userextaddset.c \
332    src/userext.c src/userextremoveset.c src/userextiterate.c
333
334## STD_C_FILES
335libscore_a_SOURCES += src/apiext.c src/chain.c src/chainappend.c \
336    src/chainextract.c src/chainget.c src/chaininsert.c \
337    src/chainappendempty.c src/chainprependempty.c src/chaingetempty.c \
338    src/chainnodecount.c \
339    src/debugisthreaddispatchingallowed.c \
340    src/interr.c src/isr.c src/wkspace.c src/wkstringduplicate.c
341libscore_a_SOURCES += src/debugisownerofallocator.c
342libscore_a_SOURCES += src/profilingisrentryexit.c
343libscore_a_SOURCES += src/once.c
344libscore_a_SOURCES += src/resourceiterate.c
345
346EXTRA_DIST = src/Unlimited.txt
347
348DISTCLEANFILES = include/rtems/score/cpuopts.h
349
350include $(srcdir)/preinstall.am
351include $(top_srcdir)/automake/subdirs.am
352include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.