summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-28 00:10:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-28 00:10:38 +0000
commit1741a510836b210be10c362837fc4509ebc93a26 (patch)
tree4df220a87a1bbba8ecfe1d572056f4d46f11e1dd /cpukit
parentNew. (diff)
downloadrtems-1741a510836b210be10c362837fc4509ebc93a26.tar.bz2
2011-02-27 Jennifer Averett <jennifer.averett@OARcorp.com>
* score/include/rtems/score/schedulerpriority.h, score/src/schedulerpriority.c, score/src/schedulerpriorityextract.c, score/src/schedulerpriorityupdate.c: Formatting.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/score/include/rtems/score/schedulerpriority.h10
-rw-r--r--cpukit/score/src/schedulerpriority.c2
-rw-r--r--cpukit/score/src/schedulerpriorityextract.c5
-rw-r--r--cpukit/score/src/schedulerpriorityupdate.c1
5 files changed, 20 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 1ed7e07be0..a8fdaae9f4 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-27 Jennifer Averett <jennifer.averett@OARcorp.com>
+
+ * score/include/rtems/score/schedulerpriority.h,
+ score/src/schedulerpriority.c, score/src/schedulerpriorityextract.c,
+ score/src/schedulerpriorityupdate.c: Formatting.
+
2011-02-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/rtems/rtems_mii_ioctl_kern.c: Do not use IFM_ACTIVE
diff --git a/cpukit/score/include/rtems/score/schedulerpriority.h b/cpukit/score/include/rtems/score/schedulerpriority.h
index 8a7f3aeb9e..bcc4d95f61 100644
--- a/cpukit/score/include/rtems/score/schedulerpriority.h
+++ b/cpukit/score/include/rtems/score/schedulerpriority.h
@@ -170,6 +170,16 @@ void _Scheduler_priority_Extract(
Thread_Control *the_thread
);
+/**
+ * This is the major bit map.
+ */
+extern volatile Priority_bit_map_Control _Priority_Major_bit_map;
+
+/**
+ * This is the minor bit map.
+ */
+extern Priority_bit_map_Control _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
+
#ifndef __RTEMS_APPLICATION__
#include <rtems/score/schedulerpriority.inl>
#endif
diff --git a/cpukit/score/src/schedulerpriority.c b/cpukit/score/src/schedulerpriority.c
index 377b5f7a9c..279f42de6c 100644
--- a/cpukit/score/src/schedulerpriority.c
+++ b/cpukit/score/src/schedulerpriority.c
@@ -29,5 +29,5 @@ Priority_bit_map_Control _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
void _Scheduler_priority_Initialize(void)
{
_Scheduler_priority_Ready_queue_initialize();
- _Priority_bit_map_Handler_initialization( );
+ _Priority_bit_map_Handler_initialization();
}
diff --git a/cpukit/score/src/schedulerpriorityextract.c b/cpukit/score/src/schedulerpriorityextract.c
index 2d0206caef..83f5d28f9f 100644
--- a/cpukit/score/src/schedulerpriorityextract.c
+++ b/cpukit/score/src/schedulerpriorityextract.c
@@ -1,4 +1,5 @@
-/*
+/* Scheduler Simple Handler / Extract
+ *
* COPYRIGHT (c) 2011.
* On-Line Applications Research Corporation (OAR).
*
@@ -22,5 +23,5 @@ void _Scheduler_priority_Extract(
Thread_Control *the_thread
)
{
- _Scheduler_priority_Ready_queue_extract( the_thread );
+ _Scheduler_priority_Ready_queue_extract( the_thread );
}
diff --git a/cpukit/score/src/schedulerpriorityupdate.c b/cpukit/score/src/schedulerpriorityupdate.c
index bbd46ee667..59b2432cf2 100644
--- a/cpukit/score/src/schedulerpriorityupdate.c
+++ b/cpukit/score/src/schedulerpriorityupdate.c
@@ -33,7 +33,6 @@ void _Scheduler_priority_Update(
sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
rq = (Chain_Control *) _Scheduler.information;
-
sched_info->ready_chain = &rq[ the_thread->current_priority ];
_Priority_bit_map_Initialize_information(