Changeset 3a08272 in rtems


Ignore:
Timestamp:
Jul 10, 2009, 8:32:48 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
58d9b24
Parents:
0c196a1
Message:

2009-07-10 Joel Sherrill <joel.sherrill@…>

  • configure.ac, score/src/threadqenqueuepriority.c: Add RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY to give user ability to disable the loop in _Thread_queue_Enqueue_priority from being unrolled. This reduces code size and makes coverage analysis easier.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r0c196a1 r3a08272  
     12009-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * configure.ac, score/src/threadqenqueuepriority.c: Add
     4        RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY to give user ability to
     5        disable the loop in _Thread_queue_Enqueue_priority from being
     6        unrolled. This reduces code size and makes coverage analysis easier.
     7
    182009-07-09      Joel Sherrill <joel.sherrill@OARcorp.com>
    29
  • cpukit/configure.ac

    r0c196a1 r3a08272  
    232232  [1],
    233233  [disable inlining _Thread_Enable_dispatch])
     234
     235## This improves both the size and coverage analysis.
     236RTEMS_CPUOPT([__RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY__],
     237  [test x"${RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY}" = x"1"],
     238  [1],
     239  [disable inlining _Thread_queue_Enqueue_priority])
    234240
    235241## This gives the same behavior as 4.8 and older
  • cpukit/score/src/threadqenqueuepriority.c

    r0c196a1 r3a08272  
    11/*
    2  *  Thread Queue Handler
     2 *  Thread Queue Handler - Enqueue By Priority
    33 *
    4  *
    5  *  COPYRIGHT (c) 1989-2008.
     4 *  COPYRIGHT (c) 1989-2009.
    65 *  On-Line Applications Research Corporation (OAR).
    76 *
     
    2524#include <rtems/score/threadq.h>
    2625#include <rtems/score/tqdata.h>
     26
     27/*
     28 *  Support the user forcing the unrolling to be disabled.
     29 */
     30#if __RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY__
     31  #undef CPU_UNROLL_ENQUEUE_PRIORITY
     32  #define CPU_UNROLL_ENQUEUE_PRIORITY FALSE
     33#endif
    2734
    2835/*PAGE
Note: See TracChangeset for help on using the changeset viewer.