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 | |
---|
28 | void _Message_queue_Manager_initialization( |
---|
29 | unsigned32 maximum_message_queues, |
---|
30 | unsigned32 maximum_messages |
---|
31 | ) |
---|
32 | { |
---|
33 | } |
---|
34 | |
---|
35 | rtems_status_code rtems_message_queue_create( |
---|
36 | Objects_Name name, |
---|
37 | unsigned32 count, |
---|
38 | rtems_attribute attribute_set, |
---|
39 | Objects_Id *id |
---|
40 | ) |
---|
41 | { |
---|
42 | return( RTEMS_NOT_CONFIGURED ); |
---|
43 | } |
---|
44 | |
---|
45 | rtems_status_code rtems_message_queue_ident( |
---|
46 | Objects_Name name, |
---|
47 | unsigned32 node, |
---|
48 | Objects_Id *id |
---|
49 | ) |
---|
50 | { |
---|
51 | return( RTEMS_NOT_CONFIGURED ); |
---|
52 | } |
---|
53 | |
---|
54 | rtems_status_code rtems_message_queue_delete( |
---|
55 | Objects_Id id |
---|
56 | ) |
---|
57 | { |
---|
58 | return( RTEMS_NOT_CONFIGURED ); |
---|
59 | } |
---|
60 | |
---|
61 | rtems_status_code rtems_message_queue_send( |
---|
62 | Objects_Id id, |
---|
63 | void *buffer |
---|
64 | ) |
---|
65 | { |
---|
66 | return( RTEMS_NOT_CONFIGURED ); |
---|
67 | } |
---|
68 | |
---|
69 | rtems_status_code rtems_message_queue_urgent( |
---|
70 | Objects_Id id, |
---|
71 | void *buffer |
---|
72 | ) |
---|
73 | { |
---|
74 | return( RTEMS_NOT_CONFIGURED ); |
---|
75 | } |
---|
76 | |
---|
77 | rtems_status_code rtems_message_queue_broadcast( |
---|
78 | Objects_Id id, |
---|
79 | void *buffer, |
---|
80 | unsigned32 *count |
---|
81 | ) |
---|
82 | { |
---|
83 | return( RTEMS_NOT_CONFIGURED ); |
---|
84 | } |
---|
85 | |
---|
86 | rtems_status_code rtems_message_queue_receive( |
---|
87 | Objects_Id id, |
---|
88 | void *buffer, |
---|
89 | unsigned32 option_set, |
---|
90 | rtems_interval timeout |
---|
91 | ) |
---|
92 | { |
---|
93 | return( RTEMS_NOT_CONFIGURED ); |
---|
94 | } |
---|
95 | |
---|
96 | rtems_status_code rtems_message_queue_flush( |
---|
97 | Objects_Id id, |
---|
98 | unsigned32 *count |
---|
99 | ) |
---|
100 | { |
---|
101 | return( RTEMS_NOT_CONFIGURED ); |
---|
102 | } |
---|
103 | |
---|
104 | unsigned32 _Message_queue_Flush_support( |
---|
105 | Message_queue_Control *the_message_queue |
---|
106 | ) |
---|
107 | { |
---|
108 | return 0; |
---|
109 | } |
---|
110 | |
---|
111 | boolean _Message_queue_Seize( |
---|
112 | Message_queue_Control *the_message_queue, |
---|
113 | rtems_option option_set, |
---|
114 | Message_queue_Buffer *buffer |
---|
115 | ) |
---|
116 | { |
---|
117 | _Thread_Executing->Wait.return_code = RTEMS_UNSATISFIED; |
---|
118 | return TRUE; |
---|
119 | } |
---|
120 | |
---|
121 | rtems_status_code _Message_queue_Submit( |
---|
122 | Objects_Id id, |
---|
123 | Message_queue_Buffer *buffer, |
---|
124 | Message_queue_Submit_types submit_type |
---|
125 | ) |
---|
126 | { |
---|
127 | return( RTEMS_NOT_CONFIGURED ); |
---|
128 | } |
---|