source: rtems/cpukit/rtems/src/region.c @ eaef4657

4.104.115
Last change on this file since eaef4657 was eaef4657, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/06/09 at 05:05:03

Eliminate TRUE/FALSE.

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[ac7d5ef0]1/*
2 *  Region Manager
3 *
4 *
[db80f11]5 *  COPYRIGHT (c) 1989-2008.
[ac7d5ef0]6 *  On-Line Applications Research Corporation (OAR).
7 *
[98e4ebf5]8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
[277cc95]10 *  http://www.rtems.com/license/LICENSE.
[ac7d5ef0]11 *
12 *  $Id$
13 */
14
[1095ec1]15#if HAVE_CONFIG_H
16#include "config.h"
17#endif
18
[ac7d5ef0]19#include <rtems/system.h>
[db80f11]20#include <rtems/config.h>
[3a4ae6c]21#include <rtems/rtems/status.h>
22#include <rtems/rtems/support.h>
[5e9b32b]23#include <rtems/score/object.h>
[3a4ae6c]24#include <rtems/rtems/options.h>
25#include <rtems/rtems/region.h>
[5e9b32b]26#include <rtems/score/states.h>
27#include <rtems/score/thread.h>
[90015e7f]28#include <rtems/score/apimutex.h>
[ac7d5ef0]29
30/*PAGE
31 *
32 *  _Region_Manager_initialization
33 *
34 *  This routine initializes all region manager related data structures.
35 *
[db80f11]36 *  Input parameters:   NONE
[ac7d5ef0]37 *
38 *  Output parameters:  NONE
39 */
40
[db80f11]41void _Region_Manager_initialization(void)
[ac7d5ef0]42{
43  _Objects_Initialize_information(
[90015e7f]44    &_Region_Information,      /* object information table */
45    OBJECTS_CLASSIC_API,       /* object API */
46    OBJECTS_RTEMS_REGIONS,     /* object class */
[db80f11]47    Configuration_RTEMS_API.maximum_regions,
48                               /* maximum objects of this class */
[90015e7f]49    sizeof( Region_Control ),  /* size of this object's control block */
[eaef4657]50    false,                     /* true if the name is a string */
[90015e7f]51    RTEMS_MAXIMUM_NAME_LENGTH  /* maximum length of an object name */
52#if defined(RTEMS_MULTIPROCESSING)
53    ,
[eaef4657]54    false,                     /* true if this is a global object class */
[90015e7f]55    NULL                       /* Proxy extraction support callout */
56#endif
[3235ad9]57  );
[3a4ae6c]58
59  /*
60   *  Register the MP Process Packet routine.
61   */
62
[97e2729d]63#if defined(RTEMS_MULTIPROCESSING)
[3a4ae6c]64  _MPCI_Register_packet_processor(
65    MP_PACKET_REGION,
66    0  /* XXX _Region_MP_Process_packet */
67  );
[97e2729d]68#endif
[3a4ae6c]69
[ac7d5ef0]70}
Note: See TracBrowser for help on using the repository browser.