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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [exec/] [itron/] [src/] [port.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*
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 208 chris
 *  $Id: port.c,v 1.2 2001-09-27 11:59:13 chris Exp $
10 158 chris
 */
11
 
12
#include <itron.h>
13
 
14
#include <rtems/itron/port.h>
15
 
16
/*
17
 *  _ITRON_Port_Manager_initialization
18
 *
19
 *  This routine initializes all ports manager related data structures.
20
 *
21
 *  Input parameters:
22
 *    maximum_ports - maximum configured ports
23
 *
24
 *  Output parameters:  NONE
25
 */
26
 
27
void _ITRON_Port_Manager_initialization(
28
  unsigned32 maximum_ports
29
)
30
{
31
  _Objects_Initialize_information(
32
    &_ITRON_Port_Information,     /* object information table */
33
    OBJECTS_ITRON_PORTS,          /* object class */
34
    FALSE,                        /* TRUE if this is a global object class */
35
    maximum_ports,                /* maximum objects of this class */
36
    sizeof( ITRON_Port_Control ), /* size of this object's control block */
37
    FALSE,                        /* TRUE if names for this object */
38
                                  /*   are strings */
39
    ITRON_MAXIMUM_NAME_LENGTH,    /* maximum length of each object's name */
40
    FALSE                         /* TRUE if this class is threads */
41
  );
42
 
43
  /*
44
   *  Register the MP Process Packet routine.
45
   *
46
   *  NOTE: No MP Support YET in RTEMS ITRON implementation.
47
   */
48
 
49
}
50
 
51
/*
52
 *  cre_por - Create Port for Rendezvous
53
 */
54
 
55
ER cre_por(
56
  ID      porid,
57
  T_CPOR *pk_cpor
58
)
59
{
60
  return E_OK;
61
}
62
 
63
/*
64
 *  del_por - Delete Port for Rendezvous
65
 */
66
 
67
ER del_por(
68
  ID porid
69
)
70
{
71
  return E_OK;
72
}
73
 
74
/*
75
 *  cal_por - Call Port for Rendezvous Poll
76
 */
77
 
78
ER cal_por(
79
  VP    msg,
80
  INT  *p_rmsgsz,
81
  ID    porid,
82
  UINT  calptn,
83
  INT   cmsgsz
84
)
85
{
86
  return E_OK;
87
}
88
 
89
/*
90
 *  pcal_por - Poll and Call Port for Rendezvous
91
 */
92
 
93
ER pcal_por(
94
  VP   msg,
95
  INT *p_rmsgsz,
96
  ID   porid,
97
  UINT calptn,
98
  INT  cmsgsz
99
)
100
{
101
  return E_OK;
102
}
103
 
104
/*
105
 *  tcal_por - Call Port for Rendezvous with Timeout
106
 */
107
 
108
ER tcal_por(
109
  VP    msg,
110
  INT  *p_rmsgsz,
111
  ID    porid,
112
  UINT  calptn,
113
  INT   cmsgsz,
114
  TMO   tmout
115
)
116
{
117
  return E_OK;
118
}
119
 
120
/*
121
 *  acp_por - Accept Port for Rendezvous Poll
122
 */
123
 
124
ER acp_por(
125
  RNO  *p_rdvno,
126
  VP    msg,
127
  INT  *p_cmsgsz,
128
  ID    porid,
129
  UINT  acpptn
130
)
131
{
132
  return E_OK;
133
}
134
 
135
/*
136
 *  pacp_por - Poll and Accept Port for Rendezvous
137
 */
138
 
139
ER pacp_por(
140
  RNO  *p_rdvno,
141
  VP    msg,
142
  INT  *p_cmsgsz,
143
  ID    porid,
144
  UINT  acpptn
145
)
146
{
147
  return E_OK;
148
}
149
 
150
/*
151
 *  tacp_por - Accept Port for Rendezvous with Timeout
152
 */
153
 
154
ER tacp_por(
155
  RNO  *p_rdvno,
156
  VP    msg,
157
  INT  *p_cmsgsz,
158
  ID    porid,
159
  UINT  acpptn,
160
  TMO   tmout
161
)
162
{
163
  return E_OK;
164
}
165
 
166
/*
167
 *  fwd_por - Forward Rendezvous to Other Port
168
 */
169
 
170
ER fwd_por(
171
  ID    porid,
172
  UINT  calptn,
173
  RNO   rdvno,
174
  VP    msg,
175
  INT   cmsgsz
176
)
177
{
178
  return E_OK;
179
}
180
 
181
/*
182
 *  rpl_rdv - Reply Rendezvous
183
 */
184
 
185
ER rpl_rdv(
186
  RNO  rdvno,
187
  VP   msg,
188
  INT rmsgsz
189
)
190
{
191
  return E_OK;
192
}
193
 
194
/*
195
 *  ref_por - Reference Port Status
196
 */
197
 
198
ER ref_por(
199
  T_RPOR *pk_rpor,
200
  ID      porid
201
)
202
{
203
  return E_OK;
204
}
205
 

powered by: WebSVN 2.1.0

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