diff options
Diffstat (limited to 'c/src/exec/rtems/optman/no-dpmem.c')
-rw-r--r-- | c/src/exec/rtems/optman/no-dpmem.c | 98 |
1 files changed, 98 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..bab609f42f --- /dev/null +++ b/c/src/exec/rtems/optman/no-dpmem.c @@ -0,0 +1,98 @@ +/* + * Dual Port Memory Manager + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * Copyright assigned to U.S. Government, 1994. + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $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; +} |