summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulerdefaultallocatefree.c
blob: 4efed5bad8ec745a9c6920a730b3be0052c0fae6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
 * @file
 *
 * @brief Scheduler Default Allocate and Release 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/scheduler.h>

void *_Scheduler_default_Allocate(
  const Scheduler_Control *scheduler,
  Thread_Control          *the_thread
)
{
  ( void ) scheduler;
  ( void ) the_thread;

  return ( void * )-1; /* maybe pick an appropriate poison value */
}

void _Scheduler_default_Free(
  const Scheduler_Control *scheduler,
  Thread_Control          *the_thread
)
{
  ( void ) scheduler;
  ( void ) the_thread;
}