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

4.104.114.84.95
Last change on this file since 7f6a24ab was 3235ad9, checked in by Joel Sherrill <joel.sherrill@…>, on 08/23/95 at 19:30:23

Support for variable length names added to Object Handler. This supports
both fixed length "raw" names and strings from the API's point of view.

Both inline and macro implementations were tested.

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[ac7d5ef0]1/*
2 *  Message Queue Manager
3 *
4 *
5 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
6 *  On-Line Applications Research Corporation (OAR).
7 *  All rights assigned to U.S. Government, 1994.
8 *
9 *  This material may be reproduced by or for the U.S. Government pursuant
10 *  to the copyright license under the clause at DFARS 252.227-7013.  This
11 *  notice must appear in all copies of this file and its derivatives.
12 *
13 *  $Id$
14 */
15
16#include <rtems/system.h>
17#include <rtems/attr.h>
18#include <rtems/chain.h>
19#include <rtems/config.h>
20#include <rtems/isr.h>
21#include <rtems/message.h>
22#include <rtems/object.h>
23#include <rtems/options.h>
24#include <rtems/states.h>
25#include <rtems/thread.h>
26#include <rtems/wkspace.h>
27
28void _Message_queue_Manager_initialization(
[b06e68ef]29  unsigned32 maximum_message_queues
[ac7d5ef0]30)
31{
32}
33
34rtems_status_code rtems_message_queue_create(
[3235ad9]35  rtems_name          name,
[ac7d5ef0]36  unsigned32          count,
[b06e68ef]37  unsigned32          max_message_size,
38  rtems_attribute     attribute_set,
[ac7d5ef0]39  Objects_Id         *id
40)
41{
42  return( RTEMS_NOT_CONFIGURED );
43}
44
45rtems_status_code rtems_message_queue_ident(
[3235ad9]46  rtems_name    name,
[ac7d5ef0]47  unsigned32    node,
48  Objects_Id   *id
49)
50{
51  return( RTEMS_NOT_CONFIGURED );
52}
53
54rtems_status_code rtems_message_queue_delete(
55  Objects_Id id
56)
57{
58  return( RTEMS_NOT_CONFIGURED );
59}
60
61rtems_status_code rtems_message_queue_send(
62  Objects_Id            id,
[b06e68ef]63  void                 *buffer,
64  unsigned32            size
[ac7d5ef0]65)
66{
67  return( RTEMS_NOT_CONFIGURED );
68}
69
70rtems_status_code rtems_message_queue_urgent(
71  Objects_Id            id,
[b06e68ef]72  void                 *buffer,
73  unsigned32            size
[ac7d5ef0]74)
75{
76  return( RTEMS_NOT_CONFIGURED );
77}
78
79rtems_status_code rtems_message_queue_broadcast(
80  Objects_Id            id,
81  void                 *buffer,
[b06e68ef]82  unsigned32            size,
[ac7d5ef0]83  unsigned32           *count
84)
85{
86  return( RTEMS_NOT_CONFIGURED );
87}
88
89rtems_status_code rtems_message_queue_receive(
90  Objects_Id            id,
91  void                 *buffer,
[b06e68ef]92  unsigned32           *size_p,
[ac7d5ef0]93  unsigned32            option_set,
[b06e68ef]94  rtems_interval        timeout
[ac7d5ef0]95)
96{
97  return( RTEMS_NOT_CONFIGURED );
98}
99
100rtems_status_code rtems_message_queue_flush(
101  Objects_Id  id,
102  unsigned32 *count
103)
104{
105  return( RTEMS_NOT_CONFIGURED );
106}
107
108unsigned32 _Message_queue_Flush_support(
109  Message_queue_Control *the_message_queue
110)
111{
112  return 0;
113}
114
115boolean _Message_queue_Seize(
116  Message_queue_Control  *the_message_queue,
[b06e68ef]117  rtems_option            option_set,
118  void                   *buffer,
119  unsigned32             *size_p
[ac7d5ef0]120)
121{
122  _Thread_Executing->Wait.return_code = RTEMS_UNSATISFIED;
123  return TRUE;
124}
125
126rtems_status_code _Message_queue_Submit(
127  Objects_Id                  id,
[b06e68ef]128  void                       *buffer,
129  unsigned32                  size,
[ac7d5ef0]130  Message_queue_Submit_types  submit_type
131)
132{
133  return( RTEMS_NOT_CONFIGURED );
134}
Note: See TracBrowser for help on using the repository browser.