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

4.104.114.95
Last change on this file since ebe61382 was 1095ec1, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/05 at 09:03:45

Include config.h.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 *  Rate Monotonic Manager
3 *
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#if HAVE_CONFIG_H
16#include "config.h"
17#endif
18
19#include <rtems/system.h>
20#include <rtems/rtems/status.h>
21#include <rtems/rtems/support.h>
22#include <rtems/score/isr.h>
23#include <rtems/score/object.h>
24#include <rtems/rtems/ratemon.h>
25#include <rtems/score/thread.h>
26
27/*PAGE
28 *
29 *  _Rate_monotonic_Manager_initialization
30 *
31 *  This routine initializes all Rate Monotonic Manager related
32 *  data structures.
33 *
34 *  Input parameters:
35 *    maximum_periods - number of periods timers to initialize
36 *
37 *  Output parameters:  NONE
38 *
39 *  NOTE: The Rate Monotonic Manager is built on top of the Watchdog
40 *        Handler.
41 */
42
43void _Rate_monotonic_Manager_initialization(
44  uint32_t   maximum_periods
45)
46{
47  _Objects_Initialize_information(
48    &_Rate_monotonic_Information,     /* object information table */
49    OBJECTS_CLASSIC_API,              /* object API */
50    OBJECTS_RTEMS_PERIODS,            /* object class */
51    maximum_periods,                  /* maximum objects of this class */
52    sizeof( Rate_monotonic_Control ), /* size of this object's control block */
53    FALSE,                            /* TRUE if the name is a string */
54    RTEMS_MAXIMUM_NAME_LENGTH         /* maximum length of an object name */
55#if defined(RTEMS_MULTIPROCESSING)
56    ,
57    FALSE,                     /* TRUE if this is a global object class */
58    NULL                       /* Proxy extraction support callout */
59#endif
60  );
61}
Note: See TracBrowser for help on using the repository browser.