From e2ba62d1ea181d8057c6c3f6ba2e9dc651f6aa3a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 21 Dec 2007 15:57:22 +0000 Subject: 2007-12-21 Joel Sherrill * configure.ac, score/include/rtems/score/coremutex.h, score/inline/rtems/score/coremutex.inl: Add the ability to disable inlining coremutex seize. This reduces the code size and also improves the process of coverage analysis. * score/src/coremutexseizeintr.c: New file. --- cpukit/configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cpukit/configure.ac') diff --git a/cpukit/configure.ac b/cpukit/configure.ac index 04f2997d4a..f2faabf915 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -218,12 +218,21 @@ RTEMS_CPUOPT([__RTEMS_USE_TICKS_RATE_MONOTONIC_STATISTICS__], [disable nanosecond granularity for period statistics] ) +## This improves both the size and coverage analysis. RTEMS_CPUOPT([__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__], [test x"${RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH}" = x"1"], [1], [disable inlining _Thread_Enable_dispatch] ) +## This improves both the size and coverage analysis. +RTEMS_CPUOPT([__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__], + [test x"${RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE}" = x"1"], + [1], + [disable inlining _Thread_Enable_dispatch] +) + +## This gives the same behavior as 4.8 and older RTEMS_CPUOPT([__STRICT_ORDER_MUTEX__], [test x"${ENABLE_STRICT_ORDER_MUTEX}"=x"1"], [1], -- cgit v1.2.3