source: rtems/cpukit/score/src/apimutex.c @ 749d64a

4.104.115
Last change on this file since 749d64a was aae7f1a1, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/22/08 at 05:52:32

Eliminate TRUE/FALSE.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2007.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <rtems/system.h>
17#include <rtems/score/apimutex.h>
18
19void _API_Mutex_Initialization(
20  uint32_t maximum_mutexes
21)
22{
23  _Objects_Initialize_information(
24    &_API_Mutex_Information,     /* object information table */
25    OBJECTS_INTERNAL_API,        /* object API */
26    OBJECTS_INTERNAL_MUTEXES,    /* object class */
27    maximum_mutexes,             /* maximum objects of this class */
28    sizeof( API_Mutex_Control ), /* size of this object's control block */
29    false,                       /* true if the name is a string */
30    0                            /* maximum length of an object name */
31#if defined(RTEMS_MULTIPROCESSING)
32    ,
33    true,                        /* true if this is a global object class */
34    NULL                         /* Proxy extraction support callout */
35#endif
36  );
37}
Note: See TracBrowser for help on using the repository browser.