summaryrefslogblamecommitdiffstats
path: root/cpukit/score/src/schedulerdefaultnodeinit.c
blob: a96a528ee4de1e2037689a6e51522241862eacce (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


        
                                                         









                                                           
                                         





                   
                                      
 
                                        

                                     

 

                                                                      
                   

                                                    
 
/**
 * @file
 *
 * @brief Scheduler Default Node Initialization Operation
 *
 * @ingroup ScoreScheduler
 */

/*
 *  COPYRIGHT (c) 2011.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <rtems/score/schedulerimpl.h>

void _Scheduler_default_Node_initialize(
  const Scheduler_Control *scheduler,
  Thread_Control          *the_thread
)
{
  Scheduler_Node *node = _Scheduler_Thread_get_own_node( the_thread );

  (void) scheduler;

  _Scheduler_Node_do_initialize( node, the_thread );
}