source: rtems/cpukit/score/src/schedulerdefaultallocatefree.c @ 24934e36

4.115
Last change on this file since 24934e36 was 24934e36, checked in by Sebastian Huber <sebastian.huber@…>, on 04/03/14 at 13:03:35

score: Add scheduler control to scheduler ops

Scheduler operations must be free of a global scheduler context to
enable partitioned/clustered scheduling.

  • Property mode set to 100644
File size: 804 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Scheduler Default Allocate and Release Operation
5 *
6 * @ingroup ScoreScheduler
7 */
8
9/*
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
15 *  http://www.rtems.org/license/LICENSE.
16 */
17
18#if HAVE_CONFIG_H
19#include "config.h"
20#endif
21
22#include <rtems/score/scheduler.h>
23
24void *_Scheduler_default_Allocate(
25  Scheduler_Control *scheduler,
26  Thread_Control    *the_thread
27)
28{
29  ( void ) scheduler;
30  ( void ) the_thread;
31
32  return ( void * )-1; /* maybe pick an appropriate poison value */
33}
34
35void _Scheduler_default_Free(
36  Scheduler_Control *scheduler,
37  Thread_Control    *the_thread
38)
39{
40  ( void ) scheduler;
41  ( void ) the_thread;
42}
Note: See TracBrowser for help on using the repository browser.