source: rtems/c/src/optman/rtems/no-msg.c @ f288708

Last change on this file since f288708 was f288708, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:46:08

2003-09-04 Joel Sherrill <joel@…>

  • rtems/no-dpmem.c, rtems/no-event.c, rtems/no-mp.c, rtems/no-msg.c, rtems/no-part.c, rtems/no-region.c, rtems/no-rtmon.c, rtems/no-sem.c, rtems/no-signal.c, rtems/no-timer.c, sapi/no-ext.c, sapi/no-io.c: URL for license changed.
  • Property mode set to 100644
File size: 3.8 KB
Line 
1/*
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.rtems.com/license/LICENSE.
11 *
12 *  $Id$
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
28void _Message_queue_Manager_initialization(
29  unsigned32 maximum_message_queues
30)
31{
32}
33
34rtems_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
50rtems_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
64rtems_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
76rtems_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
90rtems_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
104rtems_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
119rtems_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
135rtems_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
148unsigned32 _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
161boolean _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
178rtems_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}
Note: See TracBrowser for help on using the repository browser.