OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [rtems/] [optman/] [no-msg.c] - Blame information for rev 314

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
2
 *  Message Queue Manager
3
 *
4
 *
5
 *  COPYRIGHT (c) 1989-1999.
6
 *  On-Line Applications Research Corporation (OAR).
7
 *
8
 *  The license and distribution terms for this file may be
9
 *  found in the file LICENSE in this distribution or at
10
 *  http://www.OARcorp.com/rtems/license.html.
11
 *
12
 *  $Id: no-msg.c,v 1.2 2001-09-27 11:59:19 chris Exp $
13
 */
14
 
15
#include <rtems/system.h>
16
#include <rtems/rtems/status.h>
17
#include <rtems/rtems/attr.h>
18
#include <rtems/score/chain.h>
19
#include <rtems/score/isr.h>
20
#include <rtems/rtems/message.h>
21
#include <rtems/score/object.h>
22
#include <rtems/rtems/options.h>
23
#include <rtems/score/states.h>
24
#include <rtems/score/thread.h>
25
#include <rtems/score/wkspace.h>
26
#include <rtems/score/interr.h>
27
 
28
void _Message_queue_Manager_initialization(
29
  unsigned32 maximum_message_queues
30
)
31
{
32
}
33
 
34
rtems_status_code rtems_message_queue_create(
35
  rtems_name          name,
36
  unsigned32          count,
37
  unsigned32          max_message_size,
38
  rtems_attribute     attribute_set,
39
  Objects_Id         *id
40
)
41
{
42
  _Internal_error_Occurred(
43
    INTERNAL_ERROR_RTEMS_API,
44
    FALSE,
45
    RTEMS_NOT_CONFIGURED
46
  );
47
  return RTEMS_NOT_CONFIGURED;
48
}
49
 
50
rtems_status_code rtems_message_queue_ident(
51
  rtems_name    name,
52
  unsigned32    node,
53
  Objects_Id   *id
54
)
55
{
56
  _Internal_error_Occurred(
57
    INTERNAL_ERROR_RTEMS_API,
58
    FALSE,
59
    RTEMS_NOT_CONFIGURED
60
  );
61
  return RTEMS_NOT_CONFIGURED;
62
}
63
 
64
rtems_status_code rtems_message_queue_delete(
65
  Objects_Id id
66
)
67
{
68
  _Internal_error_Occurred(
69
    INTERNAL_ERROR_RTEMS_API,
70
    FALSE,
71
    RTEMS_NOT_CONFIGURED
72
  );
73
  return RTEMS_NOT_CONFIGURED;
74
}
75
 
76
rtems_status_code rtems_message_queue_send(
77
  Objects_Id            id,
78
  void                 *buffer,
79
  unsigned32            size
80
)
81
{
82
  _Internal_error_Occurred(
83
    INTERNAL_ERROR_RTEMS_API,
84
    FALSE,
85
    RTEMS_NOT_CONFIGURED
86
  );
87
  return RTEMS_NOT_CONFIGURED;
88
}
89
 
90
rtems_status_code rtems_message_queue_urgent(
91
  Objects_Id            id,
92
  void                 *buffer,
93
  unsigned32            size
94
)
95
{
96
  _Internal_error_Occurred(
97
    INTERNAL_ERROR_RTEMS_API,
98
    FALSE,
99
    RTEMS_NOT_CONFIGURED
100
  );
101
  return RTEMS_NOT_CONFIGURED;
102
}
103
 
104
rtems_status_code rtems_message_queue_broadcast(
105
  Objects_Id            id,
106
  void                 *buffer,
107
  unsigned32            size,
108
  unsigned32           *count
109
)
110
{
111
  _Internal_error_Occurred(
112
    INTERNAL_ERROR_RTEMS_API,
113
    FALSE,
114
    RTEMS_NOT_CONFIGURED
115
  );
116
  return RTEMS_NOT_CONFIGURED;
117
}
118
 
119
rtems_status_code rtems_message_queue_receive(
120
  Objects_Id            id,
121
  void                 *buffer,
122
  unsigned32           *size_p,
123
  unsigned32            option_set,
124
  rtems_interval        timeout
125
)
126
{
127
  _Internal_error_Occurred(
128
    INTERNAL_ERROR_RTEMS_API,
129
    FALSE,
130
    RTEMS_NOT_CONFIGURED
131
  );
132
  return RTEMS_NOT_CONFIGURED;
133
}
134
 
135
rtems_status_code rtems_message_queue_flush(
136
  Objects_Id  id,
137
  unsigned32 *count
138
)
139
{
140
  _Internal_error_Occurred(
141
    INTERNAL_ERROR_RTEMS_API,
142
    FALSE,
143
    RTEMS_NOT_CONFIGURED
144
  );
145
  return RTEMS_NOT_CONFIGURED;
146
}
147
 
148
unsigned32 _Message_queue_Flush_support(
149
  Message_queue_Control *the_message_queue
150
)
151
{
152
  _Internal_error_Occurred(
153
    INTERNAL_ERROR_RTEMS_API,
154
    FALSE,
155
    RTEMS_NOT_CONFIGURED
156
  );
157
  return RTEMS_NOT_CONFIGURED;
158
  return 0;
159
}
160
 
161
boolean _Message_queue_Seize(
162
  Message_queue_Control  *the_message_queue,
163
  rtems_option            option_set,
164
  void                   *buffer,
165
  unsigned32             *size_p
166
)
167
{
168
  _Internal_error_Occurred(
169
    INTERNAL_ERROR_RTEMS_API,
170
    FALSE,
171
    RTEMS_NOT_CONFIGURED
172
  );
173
  return RTEMS_NOT_CONFIGURED;
174
  _Thread_Executing->Wait.return_code = RTEMS_UNSATISFIED;
175
  return TRUE;
176
}
177
 
178
rtems_status_code _Message_queue_Submit(
179
  Objects_Id                  id,
180
  void                       *buffer,
181
  unsigned32                  size,
182
  Message_queue_Submit_types  submit_type
183
)
184
{
185
  _Internal_error_Occurred(
186
    INTERNAL_ERROR_RTEMS_API,
187
    FALSE,
188
    RTEMS_NOT_CONFIGURED
189
  );
190
  return RTEMS_NOT_CONFIGURED;
191
}

powered by: WebSVN 2.1.0

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