forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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>
|
2007-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* libchip/network/dec21140.c, libchip/network/elnk.c: i386-specific
|
* libchip/network/dec21140.c, libchip/network/elnk.c: i386-specific
|
||||||
|
|||||||
@@ -18,6 +18,11 @@ no_io_rel_SOURCES = sapi/no-io.c
|
|||||||
no_io_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
no_io_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
no_io_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
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
|
project_lib_PROGRAMS += no-dpmem.rel
|
||||||
no_dpmem_rel_SOURCES = rtems/no-dpmem.c
|
no_dpmem_rel_SOURCES = rtems/no-dpmem.c
|
||||||
no_dpmem_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
no_dpmem_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
|
|||||||
@@ -26,6 +26,10 @@ $(PROJECT_LIB)/no-io.rel: no-io.rel $(PROJECT_LIB)/$(dirstamp)
|
|||||||
$(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-io.rel
|
$(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-io.rel
|
||||||
TMPINSTALL_FILES += $(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)
|
$(PROJECT_LIB)/no-dpmem.rel: no-dpmem.rel $(PROJECT_LIB)/$(dirstamp)
|
||||||
$(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-dpmem.rel
|
$(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-dpmem.rel
|
||||||
TMPINSTALL_FILES += $(PROJECT_LIB)/no-dpmem.rel
|
TMPINSTALL_FILES += $(PROJECT_LIB)/no-dpmem.rel
|
||||||
|
|||||||
24
c/src/optman/rtems/no-barrier.c
Normal file
24
c/src/optman/rtems/no-barrier.c
Normal file
@@ -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
|
||||||
|
)
|
||||||
|
{
|
||||||
|
}
|
||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include <rtems/system.h>
|
#include <rtems/system.h>
|
||||||
#if !defined(RTEMS_MULTIPROCESSING)
|
#if !defined(RTEMS_MULTIPROCESSING)
|
||||||
char rtems_no_multiprocessing;
|
/* char rtems_no_multiprocessing; */
|
||||||
#else
|
#else
|
||||||
#include <rtems/rtems/status.h>
|
#include <rtems/rtems/status.h>
|
||||||
#include <rtems/rtems/mp.h>
|
#include <rtems/rtems/mp.h>
|
||||||
@@ -33,172 +33,4 @@ char rtems_no_multiprocessing;
|
|||||||
void _Multiprocessing_Manager_initialization ( void )
|
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
|
#endif
|
||||||
/* end of file */
|
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -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 */
|
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user