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

4.104.114.84.95
Last change on this file since 5e11c97 was 5e11c97, checked in by Joel Sherrill <joel.sherrill@…>, on 12/13/06 at 14:48:55

2006-12-13 Joel Sherrill <joel@…>

PR 1181/bsps

  • optman/rtems/no-msg.c: Clean up dead code.
  • Property mode set to 100644
File size: 3.7 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}
159
160boolean _Message_queue_Seize(
161  Message_queue_Control  *the_message_queue,
162  rtems_option            option_set,
163  void                   *buffer,
164  uint32_t               *size_p
165)
166{
167  _Internal_error_Occurred(
168    INTERNAL_ERROR_RTEMS_API,
169    FALSE,
170    RTEMS_NOT_CONFIGURED
171  );
172  return RTEMS_NOT_CONFIGURED;
173}
174
175rtems_status_code _Message_queue_Submit(
176  Objects_Id                  id,
177  void                       *buffer,
178  uint32_t                    size,
179  Message_queue_Submit_types  submit_type
180)
181{
182  _Internal_error_Occurred(
183    INTERNAL_ERROR_RTEMS_API,
184    FALSE,
185    RTEMS_NOT_CONFIGURED
186  );
187  return RTEMS_NOT_CONFIGURED;
188}
Note: See TracBrowser for help on using the repository browser.