source: rtems/cpukit/score/src/schedulersimple.c @ 25f5730f

4.115
Last change on this file since 25f5730f was e1598a6, checked in by Sebastian Huber <sebastian.huber@…>, on 04/04/14 at 08:56:36

score: Static scheduler configuration

Do not allocate the scheduler control structures from the workspace.
This is a preparation step for configuration of clustered/partitioned
schedulers on SMP.

  • Property mode set to 100644
File size: 671 bytes
RevLine 
[1b475860]1/**
2 * @file
3 *
4 * @brief Scheduler Simple Functions
[0118ed6]5 *
[1b475860]6 * @ingroup ScoreScheduler
7 */
8
9/*
[0118ed6]10 *  COPYRIGHT (c) 2011.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
[c499856]15 *  http://www.rtems.org/license/LICENSE.
[0118ed6]16 */
17
18#if HAVE_CONFIG_H
19#include "config.h"
20#endif
21
[e1598a6]22#include <rtems/score/schedulersimpleimpl.h>
[f068384e]23#include <rtems/score/chainimpl.h>
[0118ed6]24
[e1598a6]25void _Scheduler_simple_Initialize( const Scheduler_Control *scheduler )
[0118ed6]26{
[e1598a6]27  Scheduler_simple_Context *context =
28    _Scheduler_simple_Get_context( scheduler );
[0118ed6]29
[e1598a6]30  _Chain_Initialize_empty( &context->Ready );
[0118ed6]31}
Note: See TracBrowser for help on using the repository browser.