source: rtems/c/src/optman/rtems/no-mp.c @ 0ab65474

4.104.114.84.95
Last change on this file since 0ab65474 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 3.5 KB
Line 
1/*
2 *  Multiprocessing 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.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 */
14
15#include <rtems/system.h>
16#if !defined(RTEMS_MULTIPROCESSING)
17char rtems_no_multiprocessing;
18#else
19#include <rtems/rtems/status.h>
20#include <rtems/rtems/mp.h>
21#include <rtems/score/cpu.h>
22#include <rtems/score/interr.h>
23#include <rtems/score/mpci.h>
24#include <rtems/score/mppkt.h>
25#include <rtems/score/states.h>
26#include <rtems/score/thread.h>
27#include <rtems/score/threadq.h>
28#include <rtems/score/tqdata.h>
29#include <rtems/score/watchdog.h>
30#include <rtems/score/sysstate.h>
31#include <rtems/score/interr.h>
32
33void _Multiprocessing_Manager_initialization ( void )
34{
35}
36
37void rtems_multiprocessing_announce ( void )
38{
39  _Internal_error_Occurred(
40    INTERNAL_ERROR_RTEMS_API,
41    FALSE,
42    RTEMS_NOT_CONFIGURED
43  );
44}
45
46void _MPCI_Handler_initialization(
47  MPCI_Control            *users_mpci_table,
48  unsigned32               timeout_status
49)
50{
51}
52
53void _MPCI_Create_server( void )
54{
55}
56
57void _MPCI_Initialization ( void )
58{
59}
60
61void _MPCI_Register_packet_processor(
62  MP_packet_Classes      the_class,
63  MPCI_Packet_processor  the_packet_processor
64 
65)
66{
67}
68 
69MP_packet_Prefix *_MPCI_Get_packet ( void )
70{
71  _Internal_error_Occurred(
72    INTERNAL_ERROR_RTEMS_API,
73    FALSE,
74    RTEMS_NOT_CONFIGURED
75  );
76  return NULL;
77}
78
79void _MPCI_Return_packet (
80  MP_packet_Prefix   *the_packet
81)
82{
83  _Internal_error_Occurred(
84    INTERNAL_ERROR_RTEMS_API,
85    FALSE,
86    RTEMS_NOT_CONFIGURED
87  );
88}
89
90void _MPCI_Send_process_packet (
91  unsigned32          destination,
92  MP_packet_Prefix   *the_packet
93)
94{
95  _Internal_error_Occurred(
96    INTERNAL_ERROR_RTEMS_API,
97    FALSE,
98    RTEMS_NOT_CONFIGURED
99  );
100}
101
102unsigned32 _MPCI_Send_request_packet (
103  unsigned32          destination,
104  MP_packet_Prefix   *the_packet,
105  States_Control      extra_state
106)
107{
108  _Internal_error_Occurred(
109    INTERNAL_ERROR_RTEMS_API,
110    FALSE,
111    RTEMS_NOT_CONFIGURED
112  );
113  return 0;
114}
115
116void _MPCI_Send_response_packet (
117  unsigned32          destination,
118  MP_packet_Prefix   *the_packet
119)
120{
121  _Internal_error_Occurred(
122    INTERNAL_ERROR_RTEMS_API,
123    FALSE,
124    RTEMS_NOT_CONFIGURED
125  );
126}
127
128MP_packet_Prefix  *_MPCI_Receive_packet ( void )
129{
130  _Internal_error_Occurred(
131    INTERNAL_ERROR_RTEMS_API,
132    FALSE,
133    RTEMS_NOT_CONFIGURED
134  );
135  return NULL;
136}
137
138Thread_Control *_MPCI_Process_response (
139  MP_packet_Prefix  *the_packet
140)
141{
142  _Internal_error_Occurred(
143    INTERNAL_ERROR_RTEMS_API,
144    FALSE,
145    RTEMS_NOT_CONFIGURED
146  );
147  return NULL;
148}
149
150Thread _MPCI_Receive_server(
151  unsigned32 ignore
152)
153{
154  _Internal_error_Occurred(
155    INTERNAL_ERROR_RTEMS_API,
156    FALSE,
157    RTEMS_NOT_CONFIGURED
158  );
159}
160
161void _MPCI_Announce ( void )
162{
163  _Internal_error_Occurred(
164    INTERNAL_ERROR_RTEMS_API,
165    FALSE,
166    RTEMS_NOT_CONFIGURED
167  );
168}
169
170
171void _MPCI_Internal_packets_Send_process_packet (
172   MPCI_Internal_Remote_operations operation
173)
174{
175  _Internal_error_Occurred(
176    INTERNAL_ERROR_RTEMS_API,
177    FALSE,
178    RTEMS_NOT_CONFIGURED
179  );
180}
181 
182void _MPCI_Internal_packets_Process_packet (
183  MP_packet_Prefix  *the_packet_prefix
184)
185{
186  _Internal_error_Occurred(
187    INTERNAL_ERROR_RTEMS_API,
188    FALSE,
189    RTEMS_NOT_CONFIGURED
190  );
191}
192 
193MPCI_Internal_packet *_MPCI_Internal_packets_Get_packet ( void )
194{
195  _Internal_error_Occurred(
196    INTERNAL_ERROR_RTEMS_API,
197    FALSE,
198    RTEMS_NOT_CONFIGURED
199  );
200  return NULL;
201}
202#endif
203/* end of file */
Note: See TracBrowser for help on using the repository browser.