source: rtems/cpukit/rtems/src/ratemon.c @ ecdcf01

4.115
Last change on this file since ecdcf01 was ecdcf01, checked in by Sebastian Huber <sebastian.huber@…>, on 07/23/13 at 11:13:45

rtems: Create ratemon implementation header

Move implementation specific parts of ratemon.h and ratemon.inl into
new header file ratemonimpl.h. The ratemon.h contains now only the
application visible API.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/**
2 *  @file
3 *
4 *  @brief Rate Monotonic Manager Initialization
5 *  @ingroup ClassicRateMon
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2008.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
15 */
16
17#if HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems/system.h>
22#include <rtems/config.h>
23#include <rtems/rtems/status.h>
24#include <rtems/rtems/support.h>
25#include <rtems/score/isr.h>
26#include <rtems/score/object.h>
27#include <rtems/rtems/ratemonimpl.h>
28#include <rtems/score/thread.h>
29
30void _Rate_monotonic_Manager_initialization(void)
31{
32  _Objects_Initialize_information(
33    &_Rate_monotonic_Information,    /* object information table */
34    OBJECTS_CLASSIC_API,             /* object API */
35    OBJECTS_RTEMS_PERIODS,           /* object class */
36    Configuration_RTEMS_API.maximum_periods,
37                                     /* maximum objects of this class */
38    sizeof( Rate_monotonic_Control ),/* size of this object's control block */
39    false,                           /* true if the name is a string */
40    RTEMS_MAXIMUM_NAME_LENGTH        /* maximum length of an object name */
41#if defined(RTEMS_MULTIPROCESSING)
42    ,
43    false,                           /* true if this is a global object class */
44    NULL                             /* Proxy extraction support callout */
45#endif
46  );
47}
Note: See TracBrowser for help on using the repository browser.