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

4.115
Last change on this file since a55e305 was a55e305, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 29, 2010 at 5:52:10 PM

2010-07-29 Gedare Bloom <giddyup44@…>

PR 1635/cpukit

  • sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/bitfield.h, score/include/rtems/score/priority.h, score/include/rtems/score/thread.h, score/inline/rtems/score/priority.inl, score/inline/rtems/score/thread.inl, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadsuspend.c: Refactoring of priority handling, to isolate the bitmap implementation of priorities in the supercore so that priority management is a little more modular. This change is in anticipation of scheduler implementations that can select how they manage tracking priority levels / finding the highest priority ready task. Note that most of the changes here are simple renaming, to clarify the use of the bitmap-based priority management.
  • score/include/rtems/score/prioritybitmap.h, score/inline/rtems/score/prioritybitmap.inl: New files.
  • Property mode set to 100644
File size: 8.2 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8SUBDIRS = cpu
9
10## include
11
12include_rtemsdir = $(includedir)/rtems
13
14include_rtems_HEADERS = include/rtems/debug.h include/rtems/system.h \
15    include/rtems/seterr.h
16
17include_rtems_scoredir = $(includedir)/rtems/score
18
19include_rtems_score_HEADERS = include/rtems/score/address.h \
20    include/rtems/score/apiext.h include/rtems/score/apimutex.h \
21    include/rtems/score/bitfield.h include/rtems/score/chain.h \
22    include/rtems/score/context.h include/rtems/score/copyrt.h \
23    include/rtems/score/corebarrier.h include/rtems/score/coremsg.h \
24    include/rtems/score/coremutex.h include/rtems/score/coresem.h \
25    include/rtems/score/heap.h include/rtems/score/protectedheap.h \
26    include/rtems/score/interr.h include/rtems/score/isr.h \
27    include/rtems/score/object.h include/rtems/score/percpu.h \
28    include/rtems/score/priority.h include/rtems/score/prioritybitmap.h \
29    include/rtems/score/stack.h include/rtems/score/states.h \
30    include/rtems/score/sysstate.h include/rtems/score/thread.h \
31    include/rtems/score/threadq.h include/rtems/score/threadsync.h \
32    include/rtems/score/timespec.h include/rtems/score/timestamp.h \
33    include/rtems/score/timestamp64.h include/rtems/score/tod.h \
34    include/rtems/score/tqdata.h include/rtems/score/userext.h \
35    include/rtems/score/watchdog.h include/rtems/score/wkspace.h \
36    include/rtems/score/cpuopts.h include/rtems/score/basedefs.h
37
38if HAS_PTHREADS
39include_rtems_score_HEADERS += include/rtems/score/corespinlock.h \
40    include/rtems/score/corerwlock.h
41endif
42
43if HAS_MP
44# We only build multiprocessing related files if HAS_MP was defined
45include_rtems_score_HEADERS += include/rtems/score/mpci.h \
46    include/rtems/score/mppkt.h include/rtems/score/objectmp.h \
47    include/rtems/score/threadmp.h
48endif
49
50## inline
51include_rtems_score_HEADERS += inline/rtems/score/address.inl \
52    inline/rtems/score/chain.inl inline/rtems/score/corebarrier.inl \
53    inline/rtems/score/coremsg.inl inline/rtems/score/coremutex.inl \
54    inline/rtems/score/coresem.inl inline/rtems/score/heap.inl \
55    inline/rtems/score/isr.inl inline/rtems/score/object.inl \
56    inline/rtems/score/priority.inl inline/rtems/score/prioritybitmap.inl \
57    inline/rtems/score/stack.inl inline/rtems/score/states.inl \
58    inline/rtems/score/sysstate.inl inline/rtems/score/thread.inl \
59    inline/rtems/score/threadq.inl inline/rtems/score/tod.inl \
60    inline/rtems/score/tqdata.inl inline/rtems/score/watchdog.inl \
61    inline/rtems/score/wkspace.inl
62
63if HAS_PTHREADS
64include_rtems_score_HEADERS += inline/rtems/score/corespinlock.inl \
65    inline/rtems/score/corerwlock.inl
66endif
67
68if HAS_MP
69## We only build multiprocessing related files if HAS_MP was defined
70include_rtems_score_HEADERS += inline/rtems/score/mppkt.inl \
71    inline/rtems/score/objectmp.inl inline/rtems/score/threadmp.inl
72endif
73
74## src
75
76AM_CPPFLAGS += -D__RTEMS_INSIDE__
77
78noinst_LIBRARIES = libscore.a
79libscore_a_SOURCES =
80libscore_a_CPPFLAGS = $(AM_CPPFLAGS)
81
82# We only build multiprocessing related files if HAS_MP was defined
83if HAS_MP
84libscore_a_SOURCES += src/mpci.c src/objectmp.c src/threadmp.c
85endif
86
87## CORE_APIMUTEX_C_FILES
88libscore_a_SOURCES += src/apimutex.c src/apimutexallocate.c \
89    src/apimutexlock.c src/apimutexunlock.c
90
91## CORE_BARRIER_C_FILES
92libscore_a_SOURCES += src/corebarrier.c src/corebarrierrelease.c \
93    src/corebarrierwait.c
94
95## CORE_MESSAGE_QUEUE_C_FILES
96libscore_a_SOURCES += src/coremsg.c src/coremsgbroadcast.c \
97    src/coremsgclose.c src/coremsgflush.c src/coremsgflushwait.c \
98    src/coremsginsert.c src/coremsgflushsupp.c src/coremsgseize.c \
99    src/coremsgsubmit.c
100
101## CORE_MUTEX_C_FILES
102libscore_a_SOURCES += src/coremutex.c src/coremutexflush.c \
103    src/coremutexseize.c src/coremutexsurrender.c \
104    src/coremutexseizeintr.c
105
106## CORE_PERCPU_C_FILES
107libscore_a_SOURCES += src/percpu.c
108
109## CORE_RWLOCK_C_FILES
110if HAS_PTHREADS
111libscore_a_SOURCES += src/corerwlock.c src/corerwlockobtainread.c \
112    src/corerwlockobtainwrite.c src/corerwlockrelease.c src/corerwlocktimeout.c
113endif
114
115## CORE_SEMAPHORE_C_FILES
116libscore_a_SOURCES += src/coresem.c src/coresemflush.c src/coresemseize.c \
117    src/coresemsurrender.c
118
119## CORE_SPINLOCK_C_FILES
120if HAS_PTHREADS
121libscore_a_SOURCES += src/corespinlock.c src/corespinlockrelease.c \
122    src/corespinlockwait.c
123endif
124
125## HEAP_C_FILES
126libscore_a_SOURCES += src/heap.c src/heapallocate.c src/heapextend.c \
127    src/heapfree.c src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \
128    src/heapgetfreeinfo.c src/heapresizeblock.c
129
130## OBJECT_C_FILES
131libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \
132    src/objectextendinformation.c src/objectfree.c src/objectget.c \
133    src/objectgetisr.c src/objectgetnext.c src/objectinitializeinformation.c \
134    src/objectnametoid.c src/objectnametoidstring.c \
135    src/objectshrinkinformation.c src/objectgetnoprotection.c \
136    src/objectidtoname.c src/objectgetnameasstring.c src/objectsetname.c \
137    src/objectgetinfo.c src/objectgetinfoid.c src/objectapimaximumclass.c \
138    src/objectnamespaceremove.c
139
140## PROTECTED_HEAP_C_FILES
141libscore_a_SOURCES += src/pheapallocate.c \
142    src/pheapextend.c src/pheapfree.c src/pheapgetsize.c \
143    src/pheapgetblocksize.c src/pheapgetfreeinfo.c src/pheapgetinfo.c \
144    src/pheapinit.c src/pheapresizeblock.c src/pheapwalk.c
145
146## THREAD_C_FILES
147libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \
148    src/threadclearstate.c src/threadclose.c src/threadcreateidle.c \
149    src/threaddelayended.c src/threaddispatch.c \
150    src/threadget.c src/threadhandler.c src/threadinitialize.c \
151    src/threadloadenv.c src/threadready.c src/threadreset.c \
152    src/threadrestart.c src/threadresume.c src/threadsetpriority.c \
153    src/threadsetstate.c src/threadsettransient.c \
154    src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \
155    src/threadstartmultitasking.c src/threadsuspend.c \
156    src/threadtickletimeslice.c src/threadyieldprocessor.c \
157    src/iterateoverthreads.c src/threadblockingoperationcancel.c
158
159## THREADQ_C_FILES
160libscore_a_SOURCES += src/threadq.c src/threadqdequeue.c \
161    src/threadqdequeuefifo.c src/threadqdequeuepriority.c \
162    src/threadqenqueue.c src/threadqenqueuefifo.c \
163    src/threadqenqueuepriority.c src/threadqextract.c \
164    src/threadqextractfifo.c src/threadqextractpriority.c \
165    src/threadqextractwithproxy.c src/threadqfirst.c src/threadqfirstfifo.c \
166    src/threadqfirstpriority.c src/threadqflush.c src/threadqrequeue.c \
167    src/threadqprocesstimeout.c src/threadqtimeout.c
168
169## TIMESPEC_C_FILES
170libscore_a_SOURCES += src/timespecaddto.c src/timespecfromticks.c \
171    src/timespecisvalid.c src/timespeclessthan.c src/timespecgreaterthan.c \
172    src/timespecsubtract.c src/timespectoticks.c src/timespecdivide.c \
173    src/timespecdividebyinteger.c
174
175## TIMESTAMP_INT64_C_FILES
176libscore_a_SOURCES += src/ts64addto.c src/ts64dividebyinteger.c \
177    src/ts64divide.c src/ts64equalto.c \
178    src/ts64getnanoseconds.c src/ts64getseconds.c \
179    src/ts64greaterthan.c src/ts64lessthan.c \
180    src/ts64set.c src/ts64settozero.c src/ts64subtract.c \
181    src/ts64toticks.c src/ts64totimespec.c
182
183## TOD_C_FILES
184libscore_a_SOURCES += src/coretod.c src/coretodset.c src/coretodget.c \
185    src/coretodgetuptime.c src/coretodgetuptimetimespec.c src/coretodtickle.c \
186    src/coretodmsecstoticks.c src/coretodtickspersec.c src/coretodusectoticks.c
187
188## WATCHDOG_C_FILES
189libscore_a_SOURCES += src/watchdog.c src/watchdogadjust.c \
190    src/watchdogadjusttochain.c src/watchdoginsert.c src/watchdogremove.c \
191    src/watchdogtickle.c src/watchdogreport.c src/watchdogreportchain.c
192
193## USEREXT_C_FILES
194libscore_a_SOURCES += src/userextaddset.c \
195    src/userext.c src/userextremoveset.c src/userextthreadbegin.c \
196    src/userextthreadcreate.c src/userextthreaddelete.c \
197    src/userextthreadrestart.c src/userextthreadstart.c \
198    src/userextthreadswitch.c
199
200## STD_C_FILES
201libscore_a_SOURCES += src/apiext.c src/chain.c src/chainappend.c \
202    src/chainextract.c src/chainget.c src/chaininsert.c \
203    src/interr.c src/isr.c src/wkspace.c
204
205EXTRA_DIST = src/Unlimited.txt
206
207DISTCLEANFILES = include/rtems/score/cpuopts.h
208
209include $(srcdir)/preinstall.am
210include $(top_srcdir)/automake/subdirs.am
211include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.