From 0faa9dad0768f0291cb44d8d0dcb74fd3f362cc2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 24 Nov 2010 15:51:28 +0000 Subject: 2010-11-24 Gedare Bloom PR 1647/cpukit * posix/src/nanosleep.c, posix/src/sched_yield.c, rtems/src/taskwakeafter.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/prioritybitmap.h, score/include/rtems/score/thread.h, score/inline/rtems/score/thread.inl, score/src/thread.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadclose.c, score/src/threadinitialize.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadsuspend.c, score/src/threadtickletimeslice.c: Refactor scheduler out of thread handler to facilitate alternate scheduler implementations. * score/src/threadyieldprocessor.c: Removed. * score/src/schedulerprioritythreadschedulerupdate.c, score/src/schedulerprioritythreadschedulerfree.c, score/src/schedulerpriorityblock.c, score/src/scheduler.c, score/src/schedulerprioritythreadschedulerallocate.c, score/src/schedulerpriorityunblock.c, score/src/schedulerpriority.c, score/src/schedulerpriorityyield.c, score/include/rtems/score/schedulerpriority.h, score/include/rtems/score/scheduler.h, score/inline/rtems/score/scheduler.inl, score/inline/rtems/score/schedulerpriority.inl: New files. --- cpukit/score/include/rtems/score/prioritybitmap.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'cpukit/score/include/rtems/score/prioritybitmap.h') diff --git a/cpukit/score/include/rtems/score/prioritybitmap.h b/cpukit/score/include/rtems/score/prioritybitmap.h index cd712952b2..bba5b428b6 100644 --- a/cpukit/score/include/rtems/score/prioritybitmap.h +++ b/cpukit/score/include/rtems/score/prioritybitmap.h @@ -37,18 +37,17 @@ extern "C" { #include + /* - * TODO: - * These should only be instantiated if using the bit map handler. The - * logical place for this is in confdefs.h when a scheduler that uses the - * bit map handler is configured. + * The Priority_bit_map_Control variables are instantiated only + * if using the bit map handler. */ /** * Each sixteen bit entry in this array is associated with one of * the sixteen entries in the Priority Bit map. */ -SCORE_EXTERN volatile Priority_bit_map_Control _Priority_Major_bit_map; +extern volatile Priority_bit_map_Control _Priority_Major_bit_map; /** Each bit in the Priority Bitmap indicates whether or not there are * threads ready at a particular priority. The mapping of @@ -56,7 +55,7 @@ SCORE_EXTERN volatile Priority_bit_map_Control _Priority_Major_bit_map; * dependent as is the value of each bit used to indicate that * threads are ready at that priority. */ -SCORE_EXTERN Priority_bit_map_Control +extern Priority_bit_map_Control _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT; /* -- cgit v1.2.3