Changeset 4994927 in rtems


Ignore:
Timestamp:
Apr 1, 2014, 8:01:52 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
3f5f2ce
Parents:
8e980e61
git-author:
Sebastian Huber <sebastian.huber@…> (04/01/14 08:01:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/01/14 12:10:23)
Message:

score: Move log2table to separate file

Location:
cpukit/score
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/Makefile.am

    r8e980e61 r4994927  
    191191
    192192## SCHEDULER_C_FILES
     193libscore_a_SOURCES += src/log2table.c
    193194libscore_a_SOURCES += src/prioritybitmap.c
    194195libscore_a_SOURCES += src/scheduler.c
  • cpukit/score/src/prioritybitmap.c

    r8e980e61 r4994927  
    2626/* Instantiate any global variables needed by the priority scheduler */
    2727volatile Priority_bit_map_Control _Priority_Major_bit_map;
    28 
    29 #if ( CPU_USE_GENERIC_BITFIELD_DATA == TRUE )
    30 const unsigned char __log2table[256] = {
    31     7, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4,
    32     3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
    33     2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
    34     2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
    35     1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    36     1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    37     1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    38     1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    39     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    40     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    41     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    42     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    43     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    44     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    45     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    46     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
    47 };
    48 #endif
Note: See TracChangeset for help on using the changeset viewer.