source: rtems/cpukit/itron/src/eventflags.c @ 4bf1801

4.104.114.84.95
Last change on this file since 4bf1801 was 9d9a3dd, checked in by Jennifer Averett <Jennifer.Averett@…>, on 11/17/99 at 16:47:58

+ Updated copyright information.

  • Property mode set to 100644
File size: 2.5 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#include <itron.h>
13
14#include <rtems/itron/eventflags.h>
15
16/*   
17 *  _ITRON_Eventflags_Manager_initialization
18 * 
19 *  This routine initializes all event flags manager related data structures.
20 *
21 *  Input parameters:
22 *    maximum_eventflags - maximum configured eventflags
23 *
24 *  Output parameters:  NONE
25 */
26
27void _ITRON_Eventflags_Manager_initialization(
28  unsigned32 maximum_eventflags
29)
30{
31  _Objects_Initialize_information(
32    &_ITRON_Eventflags_Information,     /* object information table */
33    OBJECTS_ITRON_EVENTFLAGS,           /* object class */
34    FALSE,                              /* TRUE if this is a global */
35                                        /*   object class */
36    maximum_eventflags,                 /* maximum objects of this class */
37    sizeof( ITRON_Eventflags_Control ), /* size of this object's */
38                                        /*   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
54/*
55 *  cre_flg - Create Eventflag
56 */
57
58ER cre_flg(
59  ID      flgid,
60  T_CFLG *pk_cflg
61)
62{
63  return E_OK;
64}
65
66/*
67 *  del_flg - Delete Eventflag
68 */
69
70ER del_flg(
71  ID flgid
72)
73{
74  return E_OK;
75}
76
77/*
78 *  set_flg - Set Eventflag
79 */
80
81ER set_flg(
82  ID   flgid,
83  UINT setptn
84)
85{
86  return E_OK;
87}
88
89/*
90 *  clr_flg - Clear Eventflag
91 */
92
93ER clr_flg(
94  ID   flgid,
95  UINT clrptn
96)
97{
98  return E_OK;
99}
100
101/*
102 *  wai_flg - Wait on Eventflag
103 */
104
105ER wai_flg(
106  UINT *p_flgptn,
107  ID    flgid,
108  UINT  waiptn,
109  UINT  wfmode
110)
111{
112  return E_OK;
113}
114
115/*
116 *  pol_flg - Wait for Eventflag(Polling)
117 */
118
119ER pol_flg(
120  UINT *p_flgptn,
121  ID    flgid,
122  UINT  waiptn,
123  UINT  wfmode
124)
125{
126  return E_OK;
127}
128
129/*
130 *  twai_flg - Wait on Eventflag with Timeout
131 */
132
133ER twai_flg(
134  UINT *p_flgptn,
135  ID    flgid,
136  UINT  waiptn,
137  UINT  wfmode,
138  TMO   tmout
139)
140{
141  return E_OK;
142}
143
144/*
145 *  ref_flg - Reference Eventflag Status
146 */
147
148ER ref_flg(
149  T_RFLG *pk_rflg,
150  ID      flgid
151)
152{
153  return E_OK;
154}
155
Note: See TracBrowser for help on using the repository browser.