summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/optman
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-05-11 17:39:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-05-11 17:39:37 +0000
commitac7d5ef06a6d6e8d84abbd1f0b82162725f98326 (patch)
tree9304cf759a73f2a1c6fd3191948f00e870af3787 /c/src/exec/rtems/optman
downloadrtems-ac7d5ef06a6d6e8d84abbd1f0b82162725f98326.tar.bz2
Initial revision
Diffstat (limited to 'c/src/exec/rtems/optman')
-rw-r--r--c/src/exec/rtems/optman/no-dpmem.c69
-rw-r--r--c/src/exec/rtems/optman/no-event.c60
-rw-r--r--c/src/exec/rtems/optman/no-mp.c101
-rw-r--r--c/src/exec/rtems/optman/no-msg.c128
-rw-r--r--c/src/exec/rtems/optman/no-part.c71
-rw-r--r--c/src/exec/rtems/optman/no-region.c83
-rw-r--r--c/src/exec/rtems/optman/no-rtmon.c78
-rw-r--r--c/src/exec/rtems/optman/no-sem.c82
-rw-r--r--c/src/exec/rtems/optman/no-signal.c37
-rw-r--r--c/src/exec/rtems/optman/no-timer.c84
10 files changed, 793 insertions, 0 deletions
diff --git a/c/src/exec/rtems/optman/no-dpmem.c b/c/src/exec/rtems/optman/no-dpmem.c
new file mode 100644
index 0000000000..4d4cc4cdbc
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/address.h>
+#include <rtems/dpmem.h>
+#include <rtems/object.h>
+#include <rtems/thread.h>
+
+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/exec/rtems/optman/no-event.c b/c/src/exec/rtems/optman/no-event.c
new file mode 100644
index 0000000000..1840ebdb55
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/event.h>
+#include <rtems/isr.h>
+#include <rtems/object.h>
+#include <rtems/options.h>
+#include <rtems/states.h>
+#include <rtems/thread.h>
+
+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/exec/rtems/optman/no-mp.c b/c/src/exec/rtems/optman/no-mp.c
new file mode 100644
index 0000000000..9446cabb29
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/config.h>
+#include <rtems/cpu.h>
+#include <rtems/event.h>
+#include <rtems/fatal.h>
+#include <rtems/intthrd.h>
+#include <rtems/message.h>
+#include <rtems/mp.h>
+#include <rtems/mpci.h>
+#include <rtems/mppkt.h>
+#include <rtems/part.h>
+#include <rtems/sem.h>
+#include <rtems/signal.h>
+#include <rtems/states.h>
+#include <rtems/tasks.h>
+#include <rtems/thread.h>
+#include <rtems/threadq.h>
+#include <rtems/watchdog.h>
+
+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/exec/rtems/optman/no-msg.c b/c/src/exec/rtems/optman/no-msg.c
new file mode 100644
index 0000000000..f2ab5492c0
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/attr.h>
+#include <rtems/chain.h>
+#include <rtems/config.h>
+#include <rtems/isr.h>
+#include <rtems/message.h>
+#include <rtems/object.h>
+#include <rtems/options.h>
+#include <rtems/states.h>
+#include <rtems/thread.h>
+#include <rtems/wkspace.h>
+
+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/exec/rtems/optman/no-part.c b/c/src/exec/rtems/optman/no-part.c
new file mode 100644
index 0000000000..d51b62cfb8
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/address.h>
+#include <rtems/config.h>
+#include <rtems/object.h>
+#include <rtems/part.h>
+#include <rtems/thread.h>
+
+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/exec/rtems/optman/no-region.c b/c/src/exec/rtems/optman/no-region.c
new file mode 100644
index 0000000000..4ebdda6aa1
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/config.h>
+#include <rtems/object.h>
+#include <rtems/options.h>
+#include <rtems/region.h>
+#include <rtems/states.h>
+#include <rtems/thread.h>
+
+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/exec/rtems/optman/no-rtmon.c b/c/src/exec/rtems/optman/no-rtmon.c
new file mode 100644
index 0000000000..1799cc7533
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/isr.h>
+#include <rtems/object.h>
+#include <rtems/ratemon.h>
+#include <rtems/thread.h>
+
+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/exec/rtems/optman/no-sem.c b/c/src/exec/rtems/optman/no-sem.c
new file mode 100644
index 0000000000..e7d27a6311
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/attr.h>
+#include <rtems/config.h>
+#include <rtems/isr.h>
+#include <rtems/object.h>
+#include <rtems/options.h>
+#include <rtems/sem.h>
+#include <rtems/states.h>
+#include <rtems/thread.h>
+#include <rtems/threadq.h>
+
+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/exec/rtems/optman/no-signal.c b/c/src/exec/rtems/optman/no-signal.c
new file mode 100644
index 0000000000..50f941887c
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/asr.h>
+#include <rtems/isr.h>
+#include <rtems/modes.h>
+#include <rtems/signal.h>
+#include <rtems/thread.h>
+
+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/exec/rtems/optman/no-timer.c b/c/src/exec/rtems/optman/no-timer.c
new file mode 100644
index 0000000000..9fc29e9b6d
--- /dev/null
+++ b/c/src/exec/rtems/optman/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 <rtems/system.h>
+#include <rtems/object.h>
+#include <rtems/thread.h>
+#include <rtems/timer.h>
+#include <rtems/tod.h>
+#include <rtems/watchdog.h>
+
+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 );
+}