source: rtems/cpukit/score/include/Makefile.am @ 0577ec1d

4.104.114.84.95
Last change on this file since 0577ec1d was ef9505a9, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 1, 2002 at 10:30:12 PM

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.3 KB
Line 
1##
2## $Id$
3##
4
5
6$(PROJECT_INCLUDE)/%: %
7        $(INSTALL_DATA) $< $@
8
9include_rtemsdir = $(includedir)/rtems
10
11$(PROJECT_INCLUDE)/rtems:
12        @$(mkinstalldirs) $@
13
14include_rtems_HEADERS = rtems/debug.h rtems/system.h rtems/seterr.h
15
16PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
17    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%)
18
19include_rtems_scoredir = $(includedir)/rtems/score
20
21$(PROJECT_INCLUDE)/rtems/score:
22        @$(mkinstalldirs) $@
23
24# We only build multiprocessing related files if HAS_MP was defined
25MP_H_FILES = rtems/score/mpci.h rtems/score/mppkt.h rtems/score/objectmp.h \
26    rtems/score/threadmp.h
27
28# H_FILES that get installed in the rtems/score subdirectoy
29STD_H_FILES = rtems/score/address.h rtems/score/apiext.h \
30    rtems/score/apimutex.h \
31    rtems/score/bitfield.h rtems/score/chain.h rtems/score/context.h \
32    rtems/score/copyrt.h rtems/score/coremsg.h rtems/score/coremutex.h \
33    rtems/score/coresem.h rtems/score/heap.h rtems/score/interr.h \
34    rtems/score/isr.h rtems/score/object.h rtems/score/priority.h \
35    rtems/score/stack.h rtems/score/states.h rtems/score/sysstate.h \
36    rtems/score/thread.h rtems/score/threadq.h rtems/score/tod.h \
37    rtems/score/tqdata.h rtems/score/userext.h rtems/score/watchdog.h \
38    rtems/score/wkspace.h
39
40if HAS_MP
41include_rtems_score_HEADERS = $(STD_H_FILES) $(MP_H_FILES) rtems/score/cpuopts.h
42else
43include_rtems_score_HEADERS = $(STD_H_FILES) rtems/score/cpuopts.h
44endif
45
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
47    $(include_rtems_score_HEADERS:%=$(PROJECT_INCLUDE)/%)
48
49# make the cpu dependent options file
50# FIXME: We are exporting a config-header here, which is a bad idea in
51# general
52rtems/score/cpuopts.h: rtems/score/cpuopts-tmp.h
53        @echo "/* target cpu dependent options file */"        >$@
54        @echo "/* automatically generated -- DO NOT EDIT!! */" >>$@
55        @echo                                                  >>$@
56        @echo "#ifndef __CPU_OPTIONS_h"                        >>$@
57        @echo "#define __CPU_OPTIONS_h"                        >>$@
58        @echo                                                  >>$@
59        @cat rtems/score/cpuopts-tmp.h | sed -e '/.*PACKAGE.*/d' >>$@
60        @echo                                                  >>$@
61        @echo "#endif"                                         >>$@
62
63all-local: $(PREINSTALL_FILES)
64
65include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.