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 | ) |
---|
31 | { |
---|
32 | } |
---|
33 | |
---|
34 | rtems_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 | return( RTEMS_NOT_CONFIGURED ); |
---|
43 | } |
---|
44 | |
---|
45 | rtems_status_code rtems_message_queue_ident( |
---|
46 | rtems_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 | unsigned32 size |
---|
65 | ) |
---|
66 | { |
---|
67 | return( RTEMS_NOT_CONFIGURED ); |
---|
68 | } |
---|
69 | |
---|
70 | rtems_status_code rtems_message_queue_urgent( |
---|
71 | Objects_Id id, |
---|
72 | void *buffer, |
---|
73 | unsigned32 size |
---|
74 | ) |
---|
75 | { |
---|
76 | return( RTEMS_NOT_CONFIGURED ); |
---|
77 | } |
---|
78 | |
---|
79 | rtems_status_code rtems_message_queue_broadcast( |
---|
80 | Objects_Id id, |
---|
81 | void *buffer, |
---|
82 | unsigned32 size, |
---|
83 | unsigned32 *count |
---|
84 | ) |
---|
85 | { |
---|
86 | return( RTEMS_NOT_CONFIGURED ); |
---|
87 | } |
---|
88 | |
---|
89 | rtems_status_code rtems_message_queue_receive( |
---|
90 | Objects_Id id, |
---|
91 | void *buffer, |
---|
92 | unsigned32 *size_p, |
---|
93 | unsigned32 option_set, |
---|
94 | rtems_interval timeout |
---|
95 | ) |
---|
96 | { |
---|
97 | return( RTEMS_NOT_CONFIGURED ); |
---|
98 | } |
---|
99 | |
---|
100 | rtems_status_code rtems_message_queue_flush( |
---|
101 | Objects_Id id, |
---|
102 | unsigned32 *count |
---|
103 | ) |
---|
104 | { |
---|
105 | return( RTEMS_NOT_CONFIGURED ); |
---|
106 | } |
---|
107 | |
---|
108 | unsigned32 _Message_queue_Flush_support( |
---|
109 | Message_queue_Control *the_message_queue |
---|
110 | ) |
---|
111 | { |
---|
112 | return 0; |
---|
113 | } |
---|
114 | |
---|
115 | boolean _Message_queue_Seize( |
---|
116 | Message_queue_Control *the_message_queue, |
---|
117 | rtems_option option_set, |
---|
118 | void *buffer, |
---|
119 | unsigned32 *size_p |
---|
120 | ) |
---|
121 | { |
---|
122 | _Thread_Executing->Wait.return_code = RTEMS_UNSATISFIED; |
---|
123 | return TRUE; |
---|
124 | } |
---|
125 | |
---|
126 | rtems_status_code _Message_queue_Submit( |
---|
127 | Objects_Id id, |
---|
128 | void *buffer, |
---|
129 | unsigned32 size, |
---|
130 | Message_queue_Submit_types submit_type |
---|
131 | ) |
---|
132 | { |
---|
133 | return( RTEMS_NOT_CONFIGURED ); |
---|
134 | } |
---|