source: rtems/cpukit/score/Makefile.am @ c3105894

Last change on this file since c3105894 was c3105894, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 19, 2017 at 11:47:57 AM

score: Move thread queue timeout handling

Update #3117.
Update #3182.

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