source: rtems/cpukit/score/cpu/sparc/Makefile.am @ e358088

4.115
Last change on this file since e358088 was e358088, checked in by Sebastian Huber <sebastian.huber@…>, on 05/28/13 at 08:54:46

smp: New SMP lock API

Move the SMP lock implementation to the CPU port. An optimal SMP lock
implementation is highly architecture dependent. For example the memory
models may be fundamentally different.

The new SMP lock API has a flaw. It does not provide the ability to use
a local context for acquire and release pairs. Such a context is
necessary to implement for example the Mellor-Crummey and Scott (MCS)
locks. The SMP lock is currently used in _Thread_Disable_dispatch() and
_Thread_Enable_dispatch() and makes them to a giant lock acquire and
release. Since these functions do not pass state information via a
local context there is currently no use case for such a feature.

  • Property mode set to 100644
File size: 618 bytes
Line 
1include $(top_srcdir)/automake/compile.am
2
3include_rtemsdir = $(includedir)/rtems
4include_rtems_HEADERS = rtems/asm.h
5
6include_rtems_scoredir = $(includedir)/rtems/score
7include_rtems_score_HEADERS = rtems/score/sparc.h
8include_rtems_score_HEADERS += rtems/score/cpu.h
9include_rtems_score_HEADERS += rtems/score/types.h
10include_rtems_score_HEADERS += rtems/score/cpuatomic.h
11include_rtems_score_HEADERS += rtems/score/cpusmplock.h
12
13noinst_LIBRARIES = libscorecpu.a
14libscorecpu_a_SOURCES = cpu.c cpu_asm.S
15libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
16
17include $(srcdir)/preinstall.am
18include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.