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

4.104.11
Last change on this file since db80f11 was db80f11, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 17, 2008 at 8:21:40 PM

2008-12-17 Joel Sherrill <joel.sherrill@…>

  • rtems/Makefile.am, rtems/include/rtems/rtems/attr.h, rtems/include/rtems/rtems/barrier.h, rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h, rtems/src/barrier.c, rtems/src/dpmem.c, rtems/src/msg.c, rtems/src/part.c, rtems/src/ratemon.c, rtems/src/region.c, rtems/src/rtemstimer.c, rtems/src/sem.c, rtems/src/tasks.c, sapi/src/rtemsapi.c: Convert manager initialization routines to directly pull parameters from configuration table. Eliminate empty routines sportted.
  • rtems/src/intr.c: Removed.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 *  Rate Monotonic Manager
3 *
4 *
5 *  COPYRIGHT (c) 1989-2008.
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/config.h>
21#include <rtems/rtems/status.h>
22#include <rtems/rtems/support.h>
23#include <rtems/score/isr.h>
24#include <rtems/score/object.h>
25#include <rtems/rtems/ratemon.h>
26#include <rtems/score/thread.h>
27
28/*PAGE
29 *
30 *  _Rate_monotonic_Manager_initialization
31 *
32 *  This routine initializes all Rate Monotonic Manager related
33 *  data structures.
34 *
35 *  Input parameters:   NONE
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(void)
44{
45  _Objects_Initialize_information(
46    &_Rate_monotonic_Information,    /* object information table */
47    OBJECTS_CLASSIC_API,             /* object API */
48    OBJECTS_RTEMS_PERIODS,           /* object class */
49    Configuration_RTEMS_API.maximum_periods,
50                                     /* maximum objects of this class */
51    sizeof( Rate_monotonic_Control ),/* size of this object's control block */
52    FALSE,                           /* TRUE if the name is a string */
53    RTEMS_MAXIMUM_NAME_LENGTH        /* maximum length of an object name */
54#if defined(RTEMS_MULTIPROCESSING)
55    ,
56    FALSE,                           /* TRUE if this is a global object class */
57    NULL                             /* Proxy extraction support callout */
58#endif
59  );
60}
Note: See TracBrowser for help on using the repository browser.