source: rtems/c/src/exec/itron/src/itronsem.c @ aaf6063

4.104.114.84.95
Last change on this file since aaf6063 was f42b726, checked in by Joel Sherrill <joel.sherrill@…>, on 01/24/01 at 14:17:28

2001-01-24 Ralf Corsepius <corsepiu@…>

  • configure.in: Add src/config.h
  • src/Makefile.am: Add INCLUDES += -I. to pickup config.h
  • src/.cvsignore: Add config.h and stamp-h
  • src/*.c: Add config.h support.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-1999.
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.OARcorp.com/rtems/license.html.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <itron.h>
17
18#include <rtems/itron/semaphore.h>
19#include <rtems/itron/task.h>
20#include <rtems/score/tod.h>
21
22/*
23 *  _ITRON_Semaphore_Manager_initialization
24 *
25 *  DESCRIPTION:
26 *
27 *  This routine initializes all semaphore manager related data structures.
28 *
29 *  Input parameters:
30 *    maximum_semaphores - maximum configured semaphores
31 *
32 *  Output parameters:  NONE
33 */
34
35void _ITRON_Semaphore_Manager_initialization(
36  unsigned32 maximum_semaphores
37)
38{
39  _Objects_Initialize_information(
40    &_ITRON_Semaphore_Information,     /* object information table */
41    OBJECTS_ITRON_SEMAPHORES,          /* object class */
42    FALSE,                             /* TRUE if this is a global */
43                                       /*   object class */
44    maximum_semaphores,                /* maximum objects of this class */
45    sizeof( ITRON_Semaphore_Control ), /* size of this object's control block */
46    FALSE,                             /* TRUE if names for this object */
47                                       /*   are strings */
48    ITRON_MAXIMUM_NAME_LENGTH,         /* maximum length of each object's */
49                                       /*   name */
50    FALSE                              /* TRUE if this class is threads */
51  );
52
53  /*
54   *  Register the MP Process Packet routine.
55   *
56   *  NOTE: No MP Support YET in RTEMS ITRON implementation.
57   */
58
59}
60
Note: See TracBrowser for help on using the repository browser.