forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user