4.115
Rev | Line | |
---|
[0faa9dad] | 1 | /* |
---|
[5a58b1e] | 2 | * @file |
---|
[0faa9dad] | 3 | * |
---|
[5a58b1e] | 4 | * @brief Initialize Scheduler Priority |
---|
| 5 | * @ingroup ScoreScheduler |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | /* |
---|
[0faa9dad] | 9 | * Copyright (C) 2010 Gedare Bloom. |
---|
[010192d] | 10 | * Copyright (C) 2011 On-Line Applications Research Corporation (OAR). |
---|
[0faa9dad] | 11 | * |
---|
| 12 | * The license and distribution terms for this file may be |
---|
| 13 | * found in the file LICENSE in this distribution or at |
---|
| 14 | * http://www.rtems.com/license/LICENSE. |
---|
| 15 | */ |
---|
| 16 | |
---|
| 17 | #if HAVE_CONFIG_H |
---|
| 18 | #include "config.h" |
---|
| 19 | #endif |
---|
| 20 | |
---|
| 21 | #include <rtems/system.h> |
---|
| 22 | #include <rtems/config.h> |
---|
[108c4b0] | 23 | #include <rtems/score/prioritybitmap.h> |
---|
[0faa9dad] | 24 | #include <rtems/score/scheduler.h> |
---|
| 25 | #include <rtems/score/schedulerpriority.h> |
---|
| 26 | |
---|
| 27 | /* Instantiate any global variables needed by the priority scheduler */ |
---|
| 28 | volatile Priority_bit_map_Control _Priority_Major_bit_map; |
---|
| 29 | |
---|
| 30 | Priority_bit_map_Control _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT; |
---|
| 31 | |
---|
[010192d] | 32 | void _Scheduler_priority_Initialize(void) |
---|
[0faa9dad] | 33 | { |
---|
[010192d] | 34 | _Scheduler_priority_Ready_queue_initialize(); |
---|
[1741a51] | 35 | _Priority_bit_map_Handler_initialization(); |
---|
[0faa9dad] | 36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.