From ac7d5ef06a6d6e8d84abbd1f0b82162725f98326 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 11 May 1995 17:39:37 +0000 Subject: Initial revision --- c/src/optman/rtems/no-dpmem.c | 69 ++++++++++++++++++++++ c/src/optman/rtems/no-event.c | 60 +++++++++++++++++++ c/src/optman/rtems/no-mp.c | 101 ++++++++++++++++++++++++++++++++ c/src/optman/rtems/no-msg.c | 128 +++++++++++++++++++++++++++++++++++++++++ c/src/optman/rtems/no-part.c | 71 +++++++++++++++++++++++ c/src/optman/rtems/no-region.c | 83 ++++++++++++++++++++++++++ c/src/optman/rtems/no-rtmon.c | 78 +++++++++++++++++++++++++ c/src/optman/rtems/no-sem.c | 82 ++++++++++++++++++++++++++ c/src/optman/rtems/no-signal.c | 37 ++++++++++++ c/src/optman/rtems/no-timer.c | 84 +++++++++++++++++++++++++++ c/src/optman/sapi/no-ext.c | 49 ++++++++++++++++ c/src/optman/sapi/no-io.c | 95 ++++++++++++++++++++++++++++++ 12 files changed, 937 insertions(+) create mode 100644 c/src/optman/rtems/no-dpmem.c create mode 100644 c/src/optman/rtems/no-event.c create mode 100644 c/src/optman/rtems/no-mp.c create mode 100644 c/src/optman/rtems/no-msg.c create mode 100644 c/src/optman/rtems/no-part.c create mode 100644 c/src/optman/rtems/no-region.c create mode 100644 c/src/optman/rtems/no-rtmon.c create mode 100644 c/src/optman/rtems/no-sem.c create mode 100644 c/src/optman/rtems/no-signal.c create mode 100644 c/src/optman/rtems/no-timer.c create mode 100644 c/src/optman/sapi/no-ext.c create mode 100644 c/src/optman/sapi/no-io.c (limited to 'c/src/optman') diff --git a/c/src/optman/rtems/no-dpmem.c b/c/src/optman/rtems/no-dpmem.c new file mode 100644 index 0000000000..4d4cc4cdbc --- /dev/null +++ b/c/src/optman/rtems/no-dpmem.c @@ -0,0 +1,69 @@ +/* + * 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 +#include +#include +#include +#include + +void _Dual_ported_memory_Manager_initialization( + unsigned32 maximum_ports +) +{ +} + +rtems_status_code rtems_port_create( + Objects_Name name, + void *internal_start, + void *external_start, + unsigned32 length, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_port_ident( + Objects_Name name, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_port_delete( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_port_internal_to_external( + Objects_Id id, + void *internal, + void **external +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_port_external_to_internal( + Objects_Id id, + void *external, + void **internal +) +{ + return( RTEMS_NOT_CONFIGURED ); +} diff --git a/c/src/optman/rtems/no-event.c b/c/src/optman/rtems/no-event.c new file mode 100644 index 0000000000..1840ebdb55 --- /dev/null +++ b/c/src/optman/rtems/no-event.c @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include +#include +#include +#include + +rtems_status_code rtems_event_send( + Objects_Id id, + rtems_event_set event_in +) +{ + 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 +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +void _Event_Seize( + rtems_event_set event_in, + rtems_option option_set, + rtems_interval ticks +) +{ +} + +void _Event_Surrender( + Thread_Control *the_thread +) +{ +} + +void _Event_Timeout( + Objects_Id id, + void *ignored +) +{ +} diff --git a/c/src/optman/rtems/no-mp.c b/c/src/optman/rtems/no-mp.c new file mode 100644 index 0000000000..9446cabb29 --- /dev/null +++ b/c/src/optman/rtems/no-mp.c @@ -0,0 +1,101 @@ +/* + * 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void _Multiprocessing_Manager_initialization ( void ) +{ +} + +void rtems_multiprocessing_announce ( void ) +{ +} + +Thread _Multiprocessing_Receive_server ( + Thread_Argument ignored +) +{ +} + +void _MPCI_Handler_initialization ( void ) +{ +} + +void _MPCI_Initialization ( void ) +{ +} + +rtems_packet_prefix *_MPCI_Get_packet ( void ) +{ + return NULL; +} + +void _MPCI_Return_packet ( + rtems_packet_prefix *the_packet +) +{ +} + +void _MPCI_Send_process_packet ( + unsigned32 destination, + rtems_packet_prefix *the_packet +) +{ +} + +rtems_status_code _MPCI_Send_request_packet ( + unsigned32 destination, + rtems_packet_prefix *the_packet, + States_Control extra_state +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +void _MPCI_Send_response_packet ( + unsigned32 destination, + rtems_packet_prefix *the_packet +) +{ +} + +rtems_packet_prefix *_MPCI_Receive_packet ( void ) +{ + return NULL; +} + +Thread_Control *_MPCI_Process_response ( + rtems_packet_prefix *the_packet +) +{ + return NULL; +} diff --git a/c/src/optman/rtems/no-msg.c b/c/src/optman/rtems/no-msg.c new file mode 100644 index 0000000000..f2ab5492c0 --- /dev/null +++ b/c/src/optman/rtems/no-msg.c @@ -0,0 +1,128 @@ +/* + * 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void _Message_queue_Manager_initialization( + unsigned32 maximum_message_queues, + unsigned32 maximum_messages +) +{ +} + +rtems_status_code rtems_message_queue_create( + Objects_Name name, + unsigned32 count, + rtems_attribute attribute_set, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_message_queue_ident( + Objects_Name name, + unsigned32 node, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_message_queue_delete( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_message_queue_send( + Objects_Id id, + void *buffer +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_message_queue_urgent( + Objects_Id id, + void *buffer +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_message_queue_broadcast( + Objects_Id id, + void *buffer, + unsigned32 *count +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_message_queue_receive( + Objects_Id id, + void *buffer, + unsigned32 option_set, + rtems_interval timeout +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_message_queue_flush( + Objects_Id id, + unsigned32 *count +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +unsigned32 _Message_queue_Flush_support( + Message_queue_Control *the_message_queue +) +{ + return 0; +} + +boolean _Message_queue_Seize( + Message_queue_Control *the_message_queue, + rtems_option option_set, + Message_queue_Buffer *buffer +) +{ + _Thread_Executing->Wait.return_code = RTEMS_UNSATISFIED; + return TRUE; +} + +rtems_status_code _Message_queue_Submit( + Objects_Id id, + Message_queue_Buffer *buffer, + Message_queue_Submit_types submit_type +) +{ + return( RTEMS_NOT_CONFIGURED ); +} diff --git a/c/src/optman/rtems/no-part.c b/c/src/optman/rtems/no-part.c new file mode 100644 index 0000000000..d51b62cfb8 --- /dev/null +++ b/c/src/optman/rtems/no-part.c @@ -0,0 +1,71 @@ +/* + * 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 +#include +#include +#include +#include +#include + +void _Partition_Manager_initialization( + unsigned32 maximum_partitions +) +{ +} + +rtems_status_code rtems_partition_create( + Objects_Name name, + void *starting_address, + unsigned32 length, + unsigned32 buffer_size, + rtems_attribute attribute_set, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_partition_ident( + Objects_Name name, + unsigned32 node, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_partition_delete( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_partition_get_buffer( + Objects_Id id, + void **buffer +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_partition_return_buffer( + Objects_Id id, + void *buffer +) +{ + return( RTEMS_NOT_CONFIGURED ); +} diff --git a/c/src/optman/rtems/no-region.c b/c/src/optman/rtems/no-region.c new file mode 100644 index 0000000000..4ebdda6aa1 --- /dev/null +++ b/c/src/optman/rtems/no-region.c @@ -0,0 +1,83 @@ +/* + * 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 +#include +#include +#include +#include +#include +#include + +void _Region_Manager_initialization( + unsigned32 maximum_regions +) +{ +} + +rtems_status_code rtems_region_create( + Objects_Name name, + void *starting_address, + unsigned32 length, + unsigned32 page_size, + rtems_attribute attribute_set, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_region_ident( + Objects_Name name, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_region_delete( + Objects_Id id +) +{ + 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 +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_region_get_segment_size( + Objects_Id id, + void *segment, + unsigned32 *size +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_region_return_segment( + Objects_Id id, + void *segment +) +{ + return( RTEMS_NOT_CONFIGURED ); +} diff --git a/c/src/optman/rtems/no-rtmon.c b/c/src/optman/rtems/no-rtmon.c new file mode 100644 index 0000000000..1799cc7533 --- /dev/null +++ b/c/src/optman/rtems/no-rtmon.c @@ -0,0 +1,78 @@ +/* + * 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 +#include +#include +#include +#include + +void _Rate_monotonic_Manager_initialization( + unsigned32 maximum_periods +) +{ +} + +rtems_status_code rtems_rate_monotonic_create( + Objects_Name name, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_rate_monotonic_ident( + Objects_Name name, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_rate_monotonic_cancel( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_rate_monotonic_delete( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_rate_monotonic_period( + Objects_Id id, + rtems_interval length +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +void _Rate_monotonic_Timeout( + Objects_Id id, + void *ignored +) +{ +} + +boolean _Rate_monotonic_Set_state( +Rate_monotonic_Control *the_period +) +{ + return( FALSE ); +} diff --git a/c/src/optman/rtems/no-sem.c b/c/src/optman/rtems/no-sem.c new file mode 100644 index 0000000000..e7d27a6311 --- /dev/null +++ b/c/src/optman/rtems/no-sem.c @@ -0,0 +1,82 @@ +/* + * 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void _Semaphore_Manager_initialization( + unsigned32 maximum_semaphores +) +{ +} + +rtems_status_code rtems_semaphore_create( + Objects_Name name, + unsigned32 count, + rtems_attribute attribute_set, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_semaphore_ident( + Objects_Name name, + unsigned32 node, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_semaphore_delete( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_semaphore_obtain( + Objects_Id id, + unsigned32 option_set, + rtems_interval timeout +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_semaphore_release( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +boolean _Semaphore_Seize( + Semaphore_Control *the_semaphore, + rtems_option option_set +) +{ + _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 new file mode 100644 index 0000000000..50f941887c --- /dev/null +++ b/c/src/optman/rtems/no-signal.c @@ -0,0 +1,37 @@ +/* + * 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 +#include +#include +#include +#include +#include + +rtems_status_code rtems_signal_catch( + rtems_asr_entry handler, + rtems_mode mode_set +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_signal_send( + Objects_Id id, + rtems_signal_set signal_set +) +{ + return( RTEMS_NOT_CONFIGURED ); +} diff --git a/c/src/optman/rtems/no-timer.c b/c/src/optman/rtems/no-timer.c new file mode 100644 index 0000000000..9fc29e9b6d --- /dev/null +++ b/c/src/optman/rtems/no-timer.c @@ -0,0 +1,84 @@ +/* + * 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 +#include +#include +#include +#include +#include + +void _Timer_Manager_initialization( + unsigned32 maximum_timers +) +{ +} + +rtems_status_code rtems_timer_create( + Objects_Name name, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_timer_ident( + Objects_Name name, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_timer_cancel( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_timer_delete( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_timer_fire_after( + Objects_Id id, + rtems_interval ticks, + Timer_Service routine, + void *user_data +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_timer_fire_when( + Objects_Id id, + rtems_time_of_day *wall_time, + Timer_Service routine, + void *user_data +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_timer_reset( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} diff --git a/c/src/optman/sapi/no-ext.c b/c/src/optman/sapi/no-ext.c new file mode 100644 index 0000000000..4d707c3a49 --- /dev/null +++ b/c/src/optman/sapi/no-ext.c @@ -0,0 +1,49 @@ +/* + * 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 +#include +#include +#include + +void _Extension_Manager_initialization( + unsigned32 maximum_extensions +) +{ +} + +rtems_status_code rtems_extension_create( + Objects_Name name, + rtems_extensions_table *extension_table, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_extension_ident( + Objects_Name name, + Objects_Id *id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_extension_delete( + Objects_Id id +) +{ + return( RTEMS_NOT_CONFIGURED ); +} diff --git a/c/src/optman/sapi/no-io.c b/c/src/optman/sapi/no-io.c new file mode 100644 index 0000000000..177ec4b091 --- /dev/null +++ b/c/src/optman/sapi/no-io.c @@ -0,0 +1,95 @@ +/* + * 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 +#include +#include +#include +#include + +void _IO_Initialize_all_drivers( void ) +{ +} + +rtems_status_code rtems_io_initialize( + rtems_device_major_number major, + rtems_device_minor_number minor, + void *argument, + unsigned32 *return_value +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_io_open( + rtems_device_major_number major, + rtems_device_minor_number minor, + void *argument, + unsigned32 *return_value +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_io_close( + rtems_device_major_number major, + rtems_device_minor_number minor, + void *argument, + unsigned32 *return_value +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_io_read( + rtems_device_major_number major, + rtems_device_minor_number minor, + void *argument, + unsigned32 *return_value +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_io_write( + rtems_device_major_number major, + rtems_device_minor_number minor, + void *argument, + unsigned32 *return_value +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code rtems_io_control( + rtems_device_major_number major, + rtems_device_minor_number minor, + void *argument, + unsigned32 *return_value +) +{ + return( RTEMS_NOT_CONFIGURED ); +} + +rtems_status_code _IO_Handler_routine( + IO_operations operation, + rtems_device_major_number major, + rtems_device_minor_number minor, + void *argument, + unsigned32 *return_value +) +{ + return( RTEMS_NOT_CONFIGURED ); +} -- cgit v1.2.3