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

Subversion Repositories openrisc

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

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: eventflags.c,v 1.2 2001-09-27 11:59:13 chris Exp $
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
 
27
void _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
    ITRON_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
 
58
ER 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
 
70
ER del_flg(
71
  ID flgid
72
)
73
{
74
  return E_OK;
75
}
76
 
77
/*
78
 *  set_flg - Set Eventflag
79
 */
80
 
81
ER set_flg(
82
  ID   flgid,
83
  UINT setptn
84
)
85
{
86
  return E_OK;
87
}
88
 
89
/*
90
 *  clr_flg - Clear Eventflag
91
 */
92
 
93
ER 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
 
105
ER 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
 
119
ER 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
 
133
ER 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
 
148
ER ref_flg(
149
  T_RFLG *pk_rflg,
150
  ID      flgid
151
)
152
{
153
  return E_OK;
154
}
155
 

powered by: WebSVN 2.1.0

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