source: rtems/c/src/exec/score/src/Makefile.am @ ef9505a9

4.104.114.84.95
Last change on this file since ef9505a9 was ef9505a9, checked in by Joel Sherrill <joel.sherrill@…>, on 07/01/02 at 22:30:12

2002-07-01 Joel Sherrill <joel@…>

  • Mega patch merge to change the format of the object IDs to loosen the dependency between the SCORE and the various APIs. There was considerable work to simplify the object name management and it appears that the name_table field is no longer needed. This patch also includes the addition of the internal mutex which is currently only used to protect some types of allocation and deallocation. This significantly can reduce context switch latency under certain circumstances. In particular, some heap/region operations were O(n) and had dispatching disabled. This should help enormously. With this merge, the patch is not as clean as it should be. In particular, the documentation has not been modified to reflect the new object ID layout, the IDs in the test screens are not updated, and _Objects_Get_information needs to be a real routine not inlined. As part of this patch a lot of MP code for thread/proxy blocking was made conditional and cleaned up.
  • include/Makefile.am, include/rtems/score/coremsg.h, include/rtems/score/coremutex.h, include/rtems/score/coresem.h, include/rtems/score/object.h, include/rtems/score/threadq.h, inline/rtems/score/object.inl, inline/rtems/score/thread.inl, macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c, src/coremutex.c, src/coresem.c, src/mpci.c, src/objectcomparenameraw.c, src/objectextendinformation.c, src/objectinitializeinformation.c, src/objectnametoid.c, src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c, src/threadqextractwithproxy.c: Modified as part of above.
  • include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New files.
  • Property mode set to 100644
File size: 2.8 KB
Line 
1##
2##  $Id$
3##
4
5
6include $(top_srcdir)/automake/multilib.am
7include $(top_srcdir)/automake/compile.am
8include $(top_srcdir)/automake/lib.am
9
10# We only build multiprocessing related files if HAS_MP was defined
11MP_C_FILES = mpci.c objectmp.c threadmp.c
12
13CORE_MESSAGE_QUEUE_C_FILES = coremsg.c coremsgbroadcast.c coremsgclose.c \
14    coremsgflush.c coremsgflushwait.c coremsginsert.c coremsgflushsupp.c \
15    coremsgseize.c coremsgsubmit.c
16
17CORE_MUTEX_C_FILES = coremutex.c coremutexflush.c coremutexseize.c \
18    coremutexsurrender.c
19
20CORE_SEMAPHORE_C_FILES = coresem.c coresemflush.c coresemseize.c \
21    coresemsurrender.c
22
23HEAP_C_FILES = heap.c heapallocate.c heapextend.c heapfree.c \
24    heapsizeofuserarea.c heapwalk.c heapgetinfo.c
25
26OBJECT_C_FILES = object.c objectallocate.c objectallocatebyindex.c \
27    objectclearname.c objectcomparenameraw.c objectcomparenamestring.c \
28    objectcopynameraw.c objectcopynamestring.c objectextendinformation.c \
29    objectfree.c objectget.c objectgetisr.c objectgetbyindex.c \
30    objectgetnext.c objectinitializeinformation.c objectnametoid.c \
31    objectshrinkinformation.c objectgetnoprotection.c
32
33THREAD_C_FILES = thread.c threadchangepriority.c threadclearstate.c \
34    threadclose.c threadcreateidle.c threaddelayended.c threaddispatch.c \
35    threadevaluatemode.c threadget.c threadhandler.c threadidlebody.c \
36    threadinitialize.c threadloadenv.c threadready.c threadresettimeslice.c \
37    threadreset.c threadrestart.c threadresume.c threadrotatequeue.c \
38    threadsetpriority.c threadsetstate.c threadsettransient.c \
39    threadstackallocate.c threadstackfree.c threadstart.c \
40    threadstartmultitasking.c threadsuspend.c threadtickletimeslice.c \
41    threadyieldprocessor.c
42
43THREADQ_C_FILES = threadq.c threadqdequeue.c threadqdequeuefifo.c \
44    threadqdequeuepriority.c threadqenqueue.c threadqenqueuefifo.c \
45    threadqenqueuepriority.c threadqextract.c threadqextractfifo.c \
46    threadqextractpriority.c threadqextractwithproxy.c threadqfirst.c \
47    threadqfirstfifo.c threadqfirstpriority.c threadqflush.c threadqtimeout.c
48
49TOD_C_FILES = coretod.c coretodset.c coretodtickle.c coretodtoseconds.c \
50    coretodvalidate.c
51
52WATCHDOG_C_FILES = watchdog.c watchdogadjust.c watchdoginsert.c \
53    watchdogremove.c watchdogtickle.c
54
55STD_C_FILES = apiext.c chain.c $(CORE_MESSAGE_QUEUE_C_FILES) \
56    $(CORE_MUTEX_C_FILES) $(CORE_SEMAPHORE_C_FILES) $(HEAP_C_FILES) interr.c \
57    isr.c $(OBJECT_C_FILES) $(THREAD_C_FILES) $(THREADQ_C_FILES) \
58    $(TOD_C_FILES) userext.c $(WATCHDOG_C_FILES) wkspace.c
59
60if HAS_MP
61C_FILES = $(STD_C_FILES) $(MP_C_FILES)
62else
63C_FILES = $(STD_C_FILES)
64endif
65C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
66
67OBJS = $(C_O_FILES)
68
69#
70# Add local stuff here using +=
71#
72
73AM_CPPFLAGS += -D__RTEMS_INSIDE__
74
75all-local: ${ARCH} ${OBJS}
76
77EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES) Unlimited.txt
78
79include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.