source: rtems/cpukit/score/src/schedulerpriority.c @ 1741a51

4.11
Last change on this file since 1741a51 was 1741a51, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 28, 2011 at 12:10:38 AM

2011-02-27 Jennifer Averett <jennifer.averett@…>

  • score/include/rtems/score/schedulerpriority.h, score/src/schedulerpriority.c, score/src/schedulerpriorityextract.c, score/src/schedulerpriorityupdate.c: Formatting.
  • Property mode set to 100644
File size: 887 bytes
Line 
1/*
2 *  Scheduler Handler
3 *
4 *  Copyright (C) 2010 Gedare Bloom.
5 *  Copyright (C) 2011 On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <rtems/system.h>
19#include <rtems/config.h>
20#include <rtems/score/prioritybitmap.h>
21#include <rtems/score/scheduler.h>
22#include <rtems/score/schedulerpriority.h>
23
24/* Instantiate any global variables needed by the priority scheduler */
25volatile Priority_bit_map_Control _Priority_Major_bit_map;
26
27Priority_bit_map_Control          _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
28
29void _Scheduler_priority_Initialize(void)
30{
31  _Scheduler_priority_Ready_queue_initialize();
32  _Priority_bit_map_Handler_initialization();
33}
Note: See TracBrowser for help on using the repository browser.