source: rtems/cpukit/itron/include/rtems/itron/semaphore.h @ 7ded4e37

4.104.114.84.95
Last change on this file since 7ded4e37 was 7ded4e37, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/15/04 at 04:00:25

Remove unnecessary white spaces.

  • Property mode set to 100644
File size: 1.2 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.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#ifndef __RTEMS_ITRON_SEMAPHORE_h_
13#define __RTEMS_ITRON_SEMAPHORE_h_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#include <rtems/itron/object.h>
20#include <rtems/score/coresem.h>
21
22/*
23 *  The following defines the control block used to manage each semaphore.
24 */
25
26typedef struct {
27  ITRON_Objects_Control   Object;
28  boolean                 is_priority_blocking;
29  CORE_semaphore_Control  semaphore;
30}   ITRON_Semaphore_Control;
31
32/*
33 *  The following defines the information control block used to manage
34 *  this class of objects.
35 */
36
37ITRON_EXTERN Objects_Information  _ITRON_Semaphore_Information;
38
39/*
40 *  _ITRON_Semaphore_Manager_initialization
41 *
42 *  DESCRIPTION:
43 *
44 *  This routine performs the initialization necessary for this manager.
45 */
46
47void _ITRON_Semaphore_Manager_initialization(
48  uint32_t   maximum_semaphores
49);
50
51#include <rtems/itron/semaphore.inl>
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif
58/* end of include file */
Note: See TracBrowser for help on using the repository browser.