summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-09 18:47:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-09 18:47:03 +0000
commitff114dc5bff1783dedf2dae08b1f98c84a915be8 (patch)
treefe6055d8f1a1704d9d3339f262b09fef4afaa396
parent2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-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 '')
-rw-r--r--c/src/ChangeLog12
-rw-r--r--c/src/optman/Makefile.am5
-rw-r--r--c/src/optman/preinstall.am4
-rw-r--r--c/src/optman/rtems/no-barrier.c24
-rw-r--r--c/src/optman/rtems/no-dpmem.c69
-rw-r--r--c/src/optman/rtems/no-event.c27
-rw-r--r--c/src/optman/rtems/no-mp.c170
-rw-r--r--c/src/optman/rtems/no-msg.c156
-rw-r--r--c/src/optman/rtems/no-part.c69
-rw-r--r--c/src/optman/rtems/no-region.c85
-rw-r--r--c/src/optman/rtems/no-rtmon.c87
-rw-r--r--c/src/optman/rtems/no-sem.c81
-rw-r--r--c/src/optman/rtems/no-signal.c27
-rw-r--r--c/src/optman/rtems/no-timer.c91
-rw-r--r--c/src/optman/sapi/no-ext.c39
15 files changed, 46 insertions, 900 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index 9089ef2811..5230dc448a 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,3 +1,15 @@
+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.
+
2007-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c, libchip/network/elnk.c: i386-specific
diff --git a/c/src/optman/Makefile.am b/c/src/optman/Makefile.am
index 35cced0758..7560f32d9f 100644
--- a/c/src/optman/Makefile.am
+++ b/c/src/optman/Makefile.am
@@ -18,6 +18,11 @@ no_io_rel_SOURCES = sapi/no-io.c
no_io_rel_CPPFLAGS = $(AM_CPPFLAGS)
no_io_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
+project_lib_PROGRAMS += no-barrier.rel
+no_barrier_rel_SOURCES = rtems/no-barrier.c
+no_barrier_rel_CPPFLAGS = $(AM_CPPFLAGS)
+no_barrier_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
+
project_lib_PROGRAMS += no-dpmem.rel
no_dpmem_rel_SOURCES = rtems/no-dpmem.c
no_dpmem_rel_CPPFLAGS = $(AM_CPPFLAGS)
diff --git a/c/src/optman/preinstall.am b/c/src/optman/preinstall.am
index d3cbf59f48..7b82b63d6b 100644
--- a/c/src/optman/preinstall.am
+++ b/c/src/optman/preinstall.am
@@ -26,6 +26,10 @@ $(PROJECT_LIB)/no-io.rel: no-io.rel $(PROJECT_LIB)/$(dirstamp)
$(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-io.rel
TMPINSTALL_FILES += $(PROJECT_LIB)/no-io.rel
+$(PROJECT_LIB)/no-barrier.rel: no-barrier.rel $(PROJECT_LIB)/$(dirstamp)
+ $(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-barrier.rel
+TMPINSTALL_FILES += $(PROJECT_LIB)/no-barrier.rel
+
$(PROJECT_LIB)/no-dpmem.rel: no-dpmem.rel $(PROJECT_LIB)/$(dirstamp)
$(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-dpmem.rel
TMPINSTALL_FILES += $(PROJECT_LIB)/no-dpmem.rel
diff --git a/c/src/optman/rtems/no-barrier.c b/c/src/optman/rtems/no-barrier.c
new file mode 100644
index 0000000000..e5f1225269
--- /dev/null
+++ b/c/src/optman/rtems/no-barrier.c
@@ -0,0 +1,24 @@
+/*
+ * Barrier Manager Stub
+ *
+ * COPYRIGHT (c) 1989-2007.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#include <rtems/system.h>
+#include <rtems/rtems/status.h>
+#include <rtems/rtems/support.h>
+#include <rtems/score/object.h>
+#include <rtems/rtems/barrier.h>
+
+void _Barrier_Manager_initialization(
+ uint32_t maximum_barriers
+)
+{
+}
diff --git a/c/src/optman/rtems/no-dpmem.c b/c/src/optman/rtems/no-dpmem.c
index f5558a5752..d2b8e92868 100644
--- a/c/src/optman/rtems/no-dpmem.c
+++ b/c/src/optman/rtems/no-dpmem.c
@@ -26,72 +26,3 @@ void _Dual_ported_memory_Manager_initialization(
)
{
}
-
-rtems_status_code rtems_port_create(
- rtems_name name,
- void *internal_start,
- void *external_start,
- uint32_t 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
index 1b8b3cce49..256e9d7d6b 100644
--- a/c/src/optman/rtems/no-event.c
+++ b/c/src/optman/rtems/no-event.c
@@ -25,30 +25,3 @@ 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
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 */
diff --git a/c/src/optman/rtems/no-msg.c b/c/src/optman/rtems/no-msg.c
index 7fdd79a509..3a37eefbaf 100644
--- a/c/src/optman/rtems/no-msg.c
+++ b/c/src/optman/rtems/no-msg.c
@@ -30,159 +30,3 @@ void _Message_queue_Manager_initialization(
)
{
}
-
-rtems_status_code rtems_message_queue_create(
- rtems_name name,
- uint32_t count,
- uint32_t 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,
- uint32_t 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,
- size_t 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,
- size_t 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,
- size_t size,
- uint32_t *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,
- size_t *size_p,
- uint32_t 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,
- uint32_t *count
-)
-{
- _Internal_error_Occurred(
- INTERNAL_ERROR_RTEMS_API,
- FALSE,
- RTEMS_NOT_CONFIGURED
- );
- return RTEMS_NOT_CONFIGURED;
-}
-
-uint32_t _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;
-}
-
-boolean _Message_queue_Seize(
- Message_queue_Control *the_message_queue,
- rtems_option option_set,
- void *buffer,
- size_t *size_p
-)
-{
- _Internal_error_Occurred(
- INTERNAL_ERROR_RTEMS_API,
- FALSE,
- RTEMS_NOT_CONFIGURED
- );
- return RTEMS_NOT_CONFIGURED;
-}
-
-rtems_status_code _Message_queue_Submit(
- Objects_Id id,
- void *buffer,
- size_t 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
index de982707bc..d5ede0c4cd 100644
--- a/c/src/optman/rtems/no-part.c
+++ b/c/src/optman/rtems/no-part.c
@@ -25,72 +25,3 @@ void _Partition_Manager_initialization(
)
{
}
-
-rtems_status_code rtems_partition_create(
- rtems_name name,
- void *starting_address,
- uint32_t length,
- uint32_t 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,
- uint32_t 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
index e578dd9b92..cab64d7355 100644
--- a/c/src/optman/rtems/no-region.c
+++ b/c/src/optman/rtems/no-region.c
@@ -26,88 +26,3 @@ void _Region_Manager_initialization(
)
{
}
-
-rtems_status_code rtems_region_create(
- rtems_name name,
- void *starting_address,
- uint32_t length,
- uint32_t 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,
- uint32_t 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,
- size_t *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
index 9a4baa7302..fd58582351 100644
--- a/c/src/optman/rtems/no-rtmon.c
+++ b/c/src/optman/rtems/no-rtmon.c
@@ -27,90 +27,3 @@ void _Rate_monotonic_Manager_initialization(
)
{
}
-
-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
index 8c22badeae..0240f8a0cf 100644
--- a/c/src/optman/rtems/no-sem.c
+++ b/c/src/optman/rtems/no-sem.c
@@ -30,84 +30,3 @@ void _Semaphore_Manager_initialization(
{
}
-rtems_status_code rtems_semaphore_create(
- rtems_name name,
- uint32_t count,
- rtems_attribute attribute_set,
- rtems_task_priority priority_ceiling,
- rtems_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,
- uint32_t node,
- rtems_id *id
-)
-{
- _Internal_error_Occurred(
- INTERNAL_ERROR_RTEMS_API,
- FALSE,
- RTEMS_NOT_CONFIGURED
- );
- return RTEMS_NOT_CONFIGURED;
-}
-
-rtems_status_code rtems_semaphore_delete(
- rtems_id id
-)
-{
- _Internal_error_Occurred(
- INTERNAL_ERROR_RTEMS_API,
- FALSE,
- RTEMS_NOT_CONFIGURED
- );
- return RTEMS_NOT_CONFIGURED;
-}
-
-rtems_status_code rtems_semaphore_obtain(
- rtems_id id,
- uint32_t 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(
- rtems_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
index bf28ce3f5e..cb11f8a9f0 100644
--- a/c/src/optman/rtems/no-signal.c
+++ b/c/src/optman/rtems/no-signal.c
@@ -26,30 +26,3 @@ 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
index a7242c59df..6f9d38a53c 100644
--- a/c/src/optman/rtems/no-timer.c
+++ b/c/src/optman/rtems/no-timer.c
@@ -29,94 +29,3 @@ void _Timer_Manager_initialization(
{
}
-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
index 9237a88e43..d609b9dbc8 100644
--- a/c/src/optman/sapi/no-ext.c
+++ b/c/src/optman/sapi/no-ext.c
@@ -25,42 +25,3 @@ void _Extension_Manager_initialization(
)
{
}
-
-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;
-}