OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [rtems/] [optman/] [no-mp.c] - Blame information for rev 373

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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: no-mp.c,v 1.2 2001-09-27 11:59:19 chris Exp $
13
 */
14
 
15
#include <rtems/system.h>
16
#if !defined(RTEMS_MULTIPROCESSING)
17
char 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
 
33
void _Multiprocessing_Manager_initialization ( void )
34
{
35
}
36
 
37
void rtems_multiprocessing_announce ( void )
38
{
39
  _Internal_error_Occurred(
40
    INTERNAL_ERROR_RTEMS_API,
41
    FALSE,
42
    RTEMS_NOT_CONFIGURED
43
  );
44
}
45
 
46
void _MPCI_Handler_initialization(
47
  MPCI_Control            *users_mpci_table,
48
  unsigned32               timeout_status
49
)
50
{
51
}
52
 
53
void _MPCI_Create_server( void )
54
{
55
}
56
 
57
void _MPCI_Initialization ( void )
58
{
59
}
60
 
61
void _MPCI_Register_packet_processor(
62
  MP_packet_Classes      the_class,
63
  MPCI_Packet_processor  the_packet_processor
64
 
65
)
66
{
67
}
68
 
69
MP_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
 
79
void _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
 
90
void _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
 
102
unsigned32 _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
 
116
void _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
 
128
MP_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
 
138
Thread_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
 
150
Thread _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
  return NULL;
160
}
161
 
162
void _MPCI_Announce ( void )
163
{
164
  _Internal_error_Occurred(
165
    INTERNAL_ERROR_RTEMS_API,
166
    FALSE,
167
    RTEMS_NOT_CONFIGURED
168
  );
169
}
170
 
171
 
172
void _MPCI_Internal_packets_Send_process_packet (
173
   MPCI_Internal_Remote_operations operation
174
)
175
{
176
  _Internal_error_Occurred(
177
    INTERNAL_ERROR_RTEMS_API,
178
    FALSE,
179
    RTEMS_NOT_CONFIGURED
180
  );
181
}
182
 
183
void _MPCI_Internal_packets_Process_packet (
184
  MP_packet_Prefix  *the_packet_prefix
185
)
186
{
187
  _Internal_error_Occurred(
188
    INTERNAL_ERROR_RTEMS_API,
189
    FALSE,
190
    RTEMS_NOT_CONFIGURED
191
  );
192
}
193
 
194
MPCI_Internal_packet *_MPCI_Internal_packets_Get_packet ( void )
195
{
196
  _Internal_error_Occurred(
197
    INTERNAL_ERROR_RTEMS_API,
198
    FALSE,
199
    RTEMS_NOT_CONFIGURED
200
  );
201
  return NULL;
202
}
203
#endif
204
/* end of file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.