diff options
Diffstat (limited to 'c/src/optman')
-rw-r--r-- | c/src/optman/rtems/no-dpmem.c | 98 | ||||
-rw-r--r-- | c/src/optman/rtems/no-event.c | 56 | ||||
-rw-r--r-- | c/src/optman/rtems/no-mp.c | 201 | ||||
-rw-r--r-- | c/src/optman/rtems/no-msg.c | 192 | ||||
-rw-r--r-- | c/src/optman/rtems/no-part.c | 97 | ||||
-rw-r--r-- | c/src/optman/rtems/no-region.c | 114 | ||||
-rw-r--r-- | c/src/optman/rtems/no-rtmon.c | 117 | ||||
-rw-r--r-- | c/src/optman/rtems/no-sem.c | 114 | ||||
-rw-r--r-- | c/src/optman/rtems/no-signal.c | 56 | ||||
-rw-r--r-- | c/src/optman/rtems/no-timer.c | 123 | ||||
-rw-r--r-- | c/src/optman/sapi/no-ext.c | 67 | ||||
-rw-r--r-- | c/src/optman/sapi/no-io.c | 145 |
12 files changed, 0 insertions, 1380 deletions
diff --git a/c/src/optman/rtems/no-dpmem.c b/c/src/optman/rtems/no-dpmem.c deleted file mode 100644 index 11f2641feb..0000000000 --- a/c/src/optman/rtems/no-dpmem.c +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Dual Port Memory Manager - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/score/address.h> -#include <rtems/score/object.h> -#include <rtems/score/thread.h> -#include <rtems/score/interr.h> - -#include <rtems/rtems/status.h> -#include <rtems/rtems/types.h> -#include <rtems/rtems/dpmem.h> - -void _Dual_ported_memory_Manager_initialization( - unsigned32 maximum_ports -) -{ -} - -rtems_status_code rtems_port_create( - rtems_name name, - void *internal_start, - void *external_start, - unsigned32 length, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_port_ident( - rtems_name name, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_port_delete( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_port_internal_to_external( - Objects_Id id, - void *internal, - void **external -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_port_external_to_internal( - Objects_Id id, - void *external, - void **internal -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} diff --git a/c/src/optman/rtems/no-event.c b/c/src/optman/rtems/no-event.c deleted file mode 100644 index 4eb984c011..0000000000 --- a/c/src/optman/rtems/no-event.c +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Event Manager - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/rtems/event.h> -#include <rtems/score/isr.h> -#include <rtems/score/object.h> -#include <rtems/rtems/options.h> -#include <rtems/score/states.h> -#include <rtems/score/thread.h> -#include <rtems/score/interr.h> - -void _Event_Manager_initialization( void ) -{ -} - -rtems_status_code rtems_event_send( - Objects_Id id, - rtems_event_set event_in -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_event_receive( - rtems_event_set event_in, - rtems_option option_set, - rtems_interval ticks, - rtems_event_set *event_out -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - diff --git a/c/src/optman/rtems/no-mp.c b/c/src/optman/rtems/no-mp.c deleted file mode 100644 index e2de70e72c..0000000000 --- a/c/src/optman/rtems/no-mp.c +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Multiprocessing Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/rtems/mp.h> -#include <rtems/score/cpu.h> -#include <rtems/score/interr.h> -#include <rtems/score/mpci.h> -#include <rtems/score/mppkt.h> -#include <rtems/score/states.h> -#include <rtems/score/thread.h> -#include <rtems/score/threadq.h> -#include <rtems/score/tqdata.h> -#include <rtems/score/watchdog.h> -#include <rtems/score/sysstate.h> -#include <rtems/score/interr.h> - -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, - unsigned32 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 ( - unsigned32 destination, - MP_packet_Prefix *the_packet -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - -unsigned32 _MPCI_Send_request_packet ( - unsigned32 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 ( - unsigned32 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( - unsigned32 ignore -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - -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; -} - -/* end of file */ diff --git a/c/src/optman/rtems/no-msg.c b/c/src/optman/rtems/no-msg.c deleted file mode 100644 index 6a5b84652a..0000000000 --- a/c/src/optman/rtems/no-msg.c +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Message Queue Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/rtems/attr.h> -#include <rtems/score/chain.h> -#include <rtems/score/isr.h> -#include <rtems/rtems/message.h> -#include <rtems/score/object.h> -#include <rtems/rtems/options.h> -#include <rtems/score/states.h> -#include <rtems/score/thread.h> -#include <rtems/score/wkspace.h> -#include <rtems/score/interr.h> - -void _Message_queue_Manager_initialization( - unsigned32 maximum_message_queues -) -{ -} - -rtems_status_code rtems_message_queue_create( - rtems_name name, - unsigned32 count, - unsigned32 max_message_size, - rtems_attribute attribute_set, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_message_queue_ident( - rtems_name name, - unsigned32 node, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_message_queue_delete( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_message_queue_send( - Objects_Id id, - void *buffer, - unsigned32 size -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_message_queue_urgent( - Objects_Id id, - void *buffer, - unsigned32 size -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_message_queue_broadcast( - Objects_Id id, - void *buffer, - unsigned32 size, - unsigned32 *count -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_message_queue_receive( - Objects_Id id, - void *buffer, - unsigned32 *size_p, - unsigned32 option_set, - rtems_interval timeout -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_message_queue_flush( - Objects_Id id, - unsigned32 *count -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -unsigned32 _Message_queue_Flush_support( - Message_queue_Control *the_message_queue -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; - return 0; -} - -boolean _Message_queue_Seize( - Message_queue_Control *the_message_queue, - rtems_option option_set, - void *buffer, - unsigned32 *size_p -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; - _Thread_Executing->Wait.return_code = RTEMS_UNSATISFIED; - return TRUE; -} - -rtems_status_code _Message_queue_Submit( - Objects_Id id, - void *buffer, - unsigned32 size, - Message_queue_Submit_types submit_type -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} diff --git a/c/src/optman/rtems/no-part.c b/c/src/optman/rtems/no-part.c deleted file mode 100644 index 36eb4aee12..0000000000 --- a/c/src/optman/rtems/no-part.c +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Partition Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/score/address.h> -#include <rtems/score/object.h> -#include <rtems/rtems/part.h> -#include <rtems/score/thread.h> -#include <rtems/score/interr.h> - -void _Partition_Manager_initialization( - unsigned32 maximum_partitions -) -{ -} - -rtems_status_code rtems_partition_create( - rtems_name name, - void *starting_address, - unsigned32 length, - unsigned32 buffer_size, - rtems_attribute attribute_set, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_partition_ident( - rtems_name name, - unsigned32 node, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_partition_delete( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_partition_get_buffer( - Objects_Id id, - void **buffer -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_partition_return_buffer( - Objects_Id id, - void *buffer -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} diff --git a/c/src/optman/rtems/no-region.c b/c/src/optman/rtems/no-region.c deleted file mode 100644 index 6a779fb785..0000000000 --- a/c/src/optman/rtems/no-region.c +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Region Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/score/object.h> -#include <rtems/rtems/options.h> -#include <rtems/rtems/region.h> -#include <rtems/score/states.h> -#include <rtems/score/thread.h> -#include <rtems/score/interr.h> - -void _Region_Manager_initialization( - unsigned32 maximum_regions -) -{ -} - -rtems_status_code rtems_region_create( - rtems_name name, - void *starting_address, - unsigned32 length, - unsigned32 page_size, - rtems_attribute attribute_set, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_region_ident( - rtems_name name, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_region_delete( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_region_get_segment( - Objects_Id id, - unsigned32 size, - rtems_option option_set, - rtems_interval timeout, - void **segment -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_region_get_segment_size( - Objects_Id id, - void *segment, - unsigned32 *size -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_region_return_segment( - Objects_Id id, - void *segment -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} diff --git a/c/src/optman/rtems/no-rtmon.c b/c/src/optman/rtems/no-rtmon.c deleted file mode 100644 index fb064dafc5..0000000000 --- a/c/src/optman/rtems/no-rtmon.c +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Rate Monotonic Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/score/isr.h> -#include <rtems/score/object.h> -#include <rtems/score/thread.h> -#include <rtems/score/interr.h> - -#include <rtems/rtems/types.h> -#include <rtems/rtems/ratemon.h> - -void _Rate_monotonic_Manager_initialization( - unsigned32 maximum_periods -) -{ -} - -rtems_status_code rtems_rate_monotonic_create( - rtems_name name, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_rate_monotonic_ident( - rtems_name name, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_rate_monotonic_cancel( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_rate_monotonic_delete( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_rate_monotonic_period( - Objects_Id id, - rtems_interval length -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -void _Rate_monotonic_Timeout( - Objects_Id id, - void *ignored -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); -} - -boolean _Rate_monotonic_Set_state( -Rate_monotonic_Control *the_period -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return FALSE; -} diff --git a/c/src/optman/rtems/no-sem.c b/c/src/optman/rtems/no-sem.c deleted file mode 100644 index 3f79491075..0000000000 --- a/c/src/optman/rtems/no-sem.c +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Semaphore Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/rtems/attr.h> -#include <rtems/score/isr.h> -#include <rtems/score/object.h> -#include <rtems/rtems/options.h> -#include <rtems/rtems/sem.h> -#include <rtems/score/states.h> -#include <rtems/score/thread.h> -#include <rtems/score/threadq.h> -#include <rtems/score/interr.h> - -void _Semaphore_Manager_initialization( - unsigned32 maximum_semaphores -) -{ -} - -rtems_status_code rtems_semaphore_create( - rtems_name name, - unsigned32 count, - rtems_attribute attribute_set, - rtems_task_priority priority_ceiling, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_semaphore_ident( - rtems_name name, - unsigned32 node, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_semaphore_delete( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_semaphore_obtain( - Objects_Id id, - unsigned32 option_set, - rtems_interval timeout -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_semaphore_release( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -boolean _Semaphore_Seize( - Semaphore_Control *the_semaphore, - rtems_option option_set -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - _Thread_Executing->Wait.return_code = RTEMS_UNSATISFIED; - return TRUE; -} diff --git a/c/src/optman/rtems/no-signal.c b/c/src/optman/rtems/no-signal.c deleted file mode 100644 index fdd90efb38..0000000000 --- a/c/src/optman/rtems/no-signal.c +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Signal Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/score/isr.h> -#include <rtems/score/thread.h> -#include <rtems/score/interr.h> - -#include <rtems/rtems/asr.h> -#include <rtems/rtems/modes.h> -#include <rtems/rtems/signal.h> - -void _Signal_Manager_initialization( void ) -{ -} - -rtems_status_code rtems_signal_catch( - rtems_asr_entry handler, - rtems_mode mode_set -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_signal_send( - rtems_id id, - rtems_signal_set signal_set -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -/* end of file */ diff --git a/c/src/optman/rtems/no-timer.c b/c/src/optman/rtems/no-timer.c deleted file mode 100644 index c133a48328..0000000000 --- a/c/src/optman/rtems/no-timer.c +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Timer Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/score/object.h> -#include <rtems/score/thread.h> -#include <rtems/score/tod.h> -#include <rtems/score/watchdog.h> -#include <rtems/score/interr.h> - -#include <rtems/rtems/types.h> -#include <rtems/rtems/timer.h> - -void _Timer_Manager_initialization( - unsigned32 maximum_timers -) -{ -} - -rtems_status_code rtems_timer_create( - rtems_name name, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_timer_ident( - rtems_name name, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_timer_cancel( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_timer_delete( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_timer_fire_after( - Objects_Id id, - rtems_interval ticks, - rtems_timer_service_routine_entry routine, - void *user_data -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_timer_fire_when( - Objects_Id id, - rtems_time_of_day *wall_time, - rtems_timer_service_routine_entry routine, - void *user_data -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_timer_reset( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} diff --git a/c/src/optman/sapi/no-ext.c b/c/src/optman/sapi/no-ext.c deleted file mode 100644 index bd7b91039b..0000000000 --- a/c/src/optman/sapi/no-ext.c +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Extension Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/rtems/support.h> -#include <rtems/score/object.h> -#include <rtems/score/thread.h> -#include <rtems/extension.h> -#include <rtems/score/interr.h> - -void _Extension_Manager_initialization( - unsigned32 maximum_extensions -) -{ -} - -rtems_status_code rtems_extension_create( - rtems_name name, - rtems_extensions_table *extension_table, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_extension_ident( - rtems_name name, - Objects_Id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_extension_delete( - Objects_Id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} diff --git a/c/src/optman/sapi/no-io.c b/c/src/optman/sapi/no-io.c deleted file mode 100644 index ed75a3df87..0000000000 --- a/c/src/optman/sapi/no-io.c +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Input/Output Manager - * - * - * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. - * On-Line Applications Research Corporation (OAR). - * All rights assigned to U.S. Government, 1994. - * - * This material may be reproduced by or for the U.S. Government pursuant - * to the copyright license under the clause at DFARS 252.227-7013. This - * notice must appear in all copies of this file and its derivatives. - * - * $Id$ - */ - -#include <rtems/system.h> -#include <rtems/rtems/status.h> -#include <rtems/config.h> -#include <rtems/io.h> -#include <rtems/score/isr.h> -#include <rtems/score/thread.h> -#include <rtems/score/interr.h> - -void _IO_Manager_initialization( - rtems_driver_address_table *driver_table, - unsigned32 number_of_drivers, - unsigned32 number_of_devices -) -{ -} - -void _IO_Initialize_all_drivers( void ) -{ -} - -rtems_status_code rtems_io_register_name( - char *device_name, - rtems_device_major_number major, - rtems_device_minor_number minor -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_io_lookup_name( - const char *pathname, - rtems_driver_name_t **rnp -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_io_initialize( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *argument -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_io_open( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *argument -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_io_close( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *argument -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_io_read( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *argument -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_io_write( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *argument -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_io_control( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *argument -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} |