source: rtems/cpukit/itron/include/rtems/itron/semaphore.h @ e06ecec5

4.104.115
Last change on this file since e06ecec5 was e06ecec5, checked in by Joel Sherrill <joel.sherrill@…>, on 12/17/08 at 22:12:24

2008-12-17 Joel Sherrill <joel.sherrill@…>

  • itron/include/rtems/itron/config.h, itron/include/rtems/itron/eventflags.h, itron/include/rtems/itron/fmempool.h, itron/include/rtems/itron/mbox.h, itron/include/rtems/itron/msgbuffer.h, itron/include/rtems/itron/port.h, itron/include/rtems/itron/semaphore.h, itron/include/rtems/itron/task.h, itron/include/rtems/itron/vmempool.h, itron/src/eventflags.c, itron/src/fmempool.c, itron/src/itroninittasks.c, itron/src/itronsem.c, itron/src/mbox.c, itron/src/msgbuffer.c, itron/src/port.c, itron/src/task.c, itron/src/vmempool.c, sapi/src/itronapi.c: Convert ITRON manager initialization routines to directly pull parameters from configuration table.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1/**
2 * @file rtems/itron/semaphore.h
3 */
4
5/*
6 *  COPYRIGHT (c) 1989-2008.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#ifndef _RTEMS_ITRON_SEMAPHORE_H
17#define _RTEMS_ITRON_SEMAPHORE_H
18
19#include <rtems/itron/object.h>
20#include <rtems/score/coresem.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26/*
27 *  The following defines the control block used to manage each semaphore.
28 */
29
30typedef struct {
31  ITRON_Objects_Control   Object;
32  bool                    is_priority_blocking;
33  CORE_semaphore_Control  semaphore;
34}   ITRON_Semaphore_Control;
35
36/*
37 *  The following defines the information control block used to manage
38 *  this class of objects.
39 */
40
41ITRON_EXTERN Objects_Information  _ITRON_Semaphore_Information;
42
43/*
44 *  _ITRON_Semaphore_Manager_initialization
45 *
46 *  DESCRIPTION:
47 *
48 *  This routine performs the initialization necessary for this manager.
49 */
50
51void _ITRON_Semaphore_Manager_initialization(void);
52
53#include <rtems/itron/semaphore.inl>
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif
60/* end of include file */
Note: See TracBrowser for help on using the repository browser.