OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [itron/] [src/] [itronsem.c] - Blame information for rev 279

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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: itronsem.c,v 1.2 2001-09-27 11:59:13 chris Exp $
10
 */
11
 
12
#include <itron.h>
13
 
14
#include <rtems/itron/semaphore.h>
15
#include <rtems/itron/task.h>
16
#include <rtems/score/tod.h>
17
 
18
/*
19
 *  _ITRON_Semaphore_Manager_initialization
20
 *
21
 *  DESCRIPTION:
22
 *
23
 *  This routine initializes all semaphore manager related data structures.
24
 *
25
 *  Input parameters:
26
 *    maximum_semaphores - maximum configured semaphores
27
 *
28
 *  Output parameters:  NONE
29
 */
30
 
31
void _ITRON_Semaphore_Manager_initialization(
32
  unsigned32 maximum_semaphores
33
)
34
{
35
  _Objects_Initialize_information(
36
    &_ITRON_Semaphore_Information,     /* object information table */
37
    OBJECTS_ITRON_SEMAPHORES,          /* object class */
38
    FALSE,                             /* TRUE if this is a global */
39
                                       /*   object class */
40
    maximum_semaphores,                /* maximum objects of this class */
41
    sizeof( ITRON_Semaphore_Control ), /* size of this object's control block */
42
    FALSE,                             /* TRUE if names for this object */
43
                                       /*   are strings */
44
    ITRON_MAXIMUM_NAME_LENGTH,         /* maximum length of each object's */
45
                                       /*   name */
46
    FALSE                              /* TRUE if this class is threads */
47
  );
48
 
49
  /*
50
   *  Register the MP Process Packet routine.
51
   *
52
   *  NOTE: No MP Support YET in RTEMS ITRON implementation.
53
   */
54
 
55
}
56
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.