source: rtems/cpukit/rtems/src/region.c @ 651e3aa

4.11
Last change on this file since 651e3aa was 651e3aa, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 9, 2013 at 4:17:00 PM

cpukit/rtems: Remove XXX in comments

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/**
2 * @file
3 *
4 * @brief _Region_Manager_initialization
5 * @ingroup ClassicRegion Regions
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2013.
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/rtems/options.h>
26#include <rtems/rtems/regionimpl.h>
27#include <rtems/score/thread.h>
28#include <rtems/score/apimutex.h>
29
30/*
31 *  _Region_Manager_initialization
32 *
33 *  This routine initializes all region manager related data structures.
34 *
35 *  Input parameters:   NONE
36 *
37 *  Output parameters:  NONE
38 */
39
40void _Region_Manager_initialization(void)
41{
42  _Objects_Initialize_information(
43    &_Region_Information,      /* object information table */
44    OBJECTS_CLASSIC_API,       /* object API */
45    OBJECTS_RTEMS_REGIONS,     /* object class */
46    Configuration_RTEMS_API.maximum_regions,
47                               /* maximum objects of this class */
48    sizeof( Region_Control ),  /* size of this object's control block */
49    false,                     /* true if the name is a string */
50    RTEMS_MAXIMUM_NAME_LENGTH  /* maximum length of an object name */
51#if defined(RTEMS_MULTIPROCESSING)
52    ,
53    false,                     /* true if this is a global object class */
54    NULL                       /* Proxy extraction support callout */
55#endif
56  );
57
58  /*
59   *  Register the MP Process Packet routine.
60   */
61
62#if defined(RTEMS_MULTIPROCESSING)
63  _MPCI_Register_packet_processor(
64    MP_PACKET_REGION,
65    0  /* Multiprocessing is not currently supported for Regions */
66  );
67#endif
68
69}
Note: See TracBrowser for help on using the repository browser.