diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-05-09 18:47:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-05-09 18:47:03 +0000 |
commit | ff114dc5bff1783dedf2dae08b1f98c84a915be8 (patch) | |
tree | fe6055d8f1a1704d9d3339f262b09fef4afaa396 /c/src/optman/rtems/no-mp.c | |
parent | 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-ff114dc5bff1783dedf2dae08b1f98c84a915be8.tar.bz2 |
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* optman/Makefile.am, optman/preinstall.am, optman/rtems/no-dpmem.c,
optman/rtems/no-event.c, optman/rtems/no-mp.c, optman/rtems/no-msg.c,
optman/rtems/no-part.c, optman/rtems/no-region.c,
optman/rtems/no-rtmon.c, optman/rtems/no-sem.c,
optman/rtems/no-signal.c, optman/rtems/no-timer.c,
optman/sapi/no-ext.c: Add optional manager stub for Barrier. Simplify
other optional managers so using them reduces application size
instead of increasing it.
* optman/rtems/no-barrier.c: New file.
Diffstat (limited to 'c/src/optman/rtems/no-mp.c')
-rw-r--r-- | c/src/optman/rtems/no-mp.c | 170 |
1 files changed, 1 insertions, 169 deletions
diff --git a/c/src/optman/rtems/no-mp.c b/c/src/optman/rtems/no-mp.c index 45ecb6c2f8..2ec52558d3 100644 --- a/c/src/optman/rtems/no-mp.c +++ b/c/src/optman/rtems/no-mp.c @@ -14,7 +14,7 @@ #include <rtems/system.h> #if !defined(RTEMS_MULTIPROCESSING) -char rtems_no_multiprocessing; +/* char rtems_no_multiprocessing; */ #else #include <rtems/rtems/status.h> #include <rtems/rtems/mp.h> @@ -33,172 +33,4 @@ char rtems_no_multiprocessing; void _Multiprocessing_Manager_initialization ( void ) { } - -void rtems_multiprocessing_announce ( void ) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - -void _MPCI_Handler_initialization( - MPCI_Control *users_mpci_table, - uint32_t timeout_status -) -{ -} - -void _MPCI_Create_server( void ) -{ -} - -void _MPCI_Initialization ( void ) -{ -} - -void _MPCI_Register_packet_processor( - MP_packet_Classes the_class, - MPCI_Packet_processor the_packet_processor - -) -{ -} - -MP_packet_Prefix *_MPCI_Get_packet ( void ) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return NULL; -} - -void _MPCI_Return_packet ( - MP_packet_Prefix *the_packet -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - -void _MPCI_Send_process_packet ( - uint32_t destination, - MP_packet_Prefix *the_packet -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - -uint32_t _MPCI_Send_request_packet ( - uint32_t destination, - MP_packet_Prefix *the_packet, - States_Control extra_state -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return 0; -} - -void _MPCI_Send_response_packet ( - uint32_t destination, - MP_packet_Prefix *the_packet -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - -MP_packet_Prefix *_MPCI_Receive_packet ( void ) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return NULL; -} - -Thread_Control *_MPCI_Process_response ( - MP_packet_Prefix *the_packet -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return NULL; -} - -Thread _MPCI_Receive_server( - uint32_t ignore -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return NULL; -} - -void _MPCI_Announce ( void ) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - - -void _MPCI_Internal_packets_Send_process_packet ( - MPCI_Internal_Remote_operations operation -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - -void _MPCI_Internal_packets_Process_packet ( - MP_packet_Prefix *the_packet_prefix -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - -MPCI_Internal_packet *_MPCI_Internal_packets_Get_packet ( void ) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return NULL; -} #endif -/* end of file */ |