source: rtems/cpukit/score/src/apimutex.c @ a936aa49

4.115
Last change on this file since a936aa49 was f839bf5a, checked in by Christopher Kerl <zargyyoyo@…>, on 12/01/12 at 14:47:07

score misc: Score misc: Clean up Doxygen #10 (GCI 2012)

This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/7983216

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