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