source: rtems/c/src/exec/itron/src/itronsem.c @ 9da0994

4.104.114.84.95
Last change on this file since 9da0994 was fb27af76, checked in by Joel Sherrill <joel.sherrill@…>, on 11/15/99 at 16:39:01

Split ITRON semaphore manager into multiple files.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 *  The license and distribution terms for this file may be
3 *  found in the file LICENSE in this distribution or at
4 *  http://www.OARcorp.com/rtems/license.html.
5 *
6 *  $Id$
7 */
8
9#include <itron.h>
10
11#include <rtems/itron/semaphore.h>
12#include <rtems/itron/task.h>
13#include <rtems/score/tod.h>
14
15/*
16 *  _ITRON_Semaphore_Manager_initialization
17 *
18 *  DESCRIPTION:
19 *
20 *  This routine initializes all semaphore manager related data structures.
21 *
22 *  Input parameters:
23 *    maximum_semaphores - maximum configured semaphores
24 *
25 *  Output parameters:  NONE
26 */
27
28void _ITRON_Semaphore_Manager_initialization(
29  unsigned32 maximum_semaphores
30)
31{
32  _Objects_Initialize_information(
33    &_ITRON_Semaphore_Information,     /* object information table */
34    OBJECTS_ITRON_SEMAPHORES,          /* object class */
35    FALSE,                             /* TRUE if this is a global */
36                                       /*   object class */
37    maximum_semaphores,                /* maximum objects of this class */
38    sizeof( ITRON_Semaphore_Control ), /* size of this object's control block */
39    FALSE,                             /* TRUE if names for this object */
40                                       /*   are strings */
41    RTEMS_MAXIMUM_NAME_LENGTH,         /* maximum length of each object's */
42                                       /*   name */
43    FALSE                              /* TRUE if this class is threads */
44  );
45
46  /*
47   *  Register the MP Process Packet routine.
48   *
49   *  NOTE: No MP Support YET in RTEMS ITRON implementation.
50   */
51
52}
53
Note: See TracBrowser for help on using the repository browser.