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

4.104.114.84.95
Last change on this file since c83b5678 was c83b5678, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 31, 2004 at 8:29:14 AM

2004-03-31 Ralf Corsepius <ralf_corsepius@…>

  • optman/rtems/no-dpmem.c, optman/rtems/no-mp.c, optman/rtems/no-msg.c, optman/rtems/no-part.c, optman/rtems/no-region.c, optman/rtems/no-rtmon.c, optman/rtems/no-sem.c, optman/rtems/no-timer.c, optman/sapi/no-ext.c, optman/sapi/no-io.c: Convert to using c99 fixed size types.
  • 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  uint32_t   maximum_message_queues
30)
31{
32}
33
34rtems_status_code rtems_message_queue_create(
35  rtems_name          name,
36  uint32_t            count,
37  uint32_t            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  uint32_t      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  uint32_t              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  uint32_t              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  uint32_t              size,
108  uint32_t             *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  uint32_t             *size_p,
123  uint32_t              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  uint32_t   *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
148uint32_t   _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  uint32_t               *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  uint32_t                    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.