4.115
Line | |
---|
1 | /* |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Initialize Scheduler Priority |
---|
5 | * @ingroup ScoreScheduler |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * Copyright (C) 2010 Gedare Bloom. |
---|
10 | * Copyright (C) 2011 On-Line Applications Research Corporation (OAR). |
---|
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> |
---|
23 | #include <rtems/score/prioritybitmap.h> |
---|
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 | |
---|
32 | void _Scheduler_priority_Initialize(void) |
---|
33 | { |
---|
34 | _Scheduler_priority_Ready_queue_initialize(); |
---|
35 | _Priority_bit_map_Handler_initialization(); |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.