[ac7d5ef0] | 1 | /* |
---|
| 2 | * Dual Port Memory Manager |
---|
| 3 | * |
---|
[60b791ad] | 4 | * COPYRIGHT (c) 1989-1998. |
---|
[ac7d5ef0] | 5 | * On-Line Applications Research Corporation (OAR). |
---|
[03f2154e] | 6 | * Copyright assigned to U.S. Government, 1994. |
---|
[ac7d5ef0] | 7 | * |
---|
[98e4ebf5] | 8 | * The license and distribution terms for this file may be |
---|
| 9 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 10 | * http://www.OARcorp.com/rtems/license.html. |
---|
[ac7d5ef0] | 11 | * |
---|
| 12 | * $Id$ |
---|
| 13 | */ |
---|
| 14 | |
---|
| 15 | #include <rtems/system.h> |
---|
[5e9b32b] | 16 | #include <rtems/score/address.h> |
---|
| 17 | #include <rtems/score/object.h> |
---|
| 18 | #include <rtems/score/thread.h> |
---|
[3b76313] | 19 | #include <rtems/score/interr.h> |
---|
[3a4ae6c] | 20 | |
---|
| 21 | #include <rtems/rtems/status.h> |
---|
| 22 | #include <rtems/rtems/types.h> |
---|
| 23 | #include <rtems/rtems/dpmem.h> |
---|
[ac7d5ef0] | 24 | |
---|
| 25 | void _Dual_ported_memory_Manager_initialization( |
---|
| 26 | unsigned32 maximum_ports |
---|
| 27 | ) |
---|
| 28 | { |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | rtems_status_code rtems_port_create( |
---|
[3235ad9] | 32 | rtems_name name, |
---|
[ac7d5ef0] | 33 | void *internal_start, |
---|
| 34 | void *external_start, |
---|
| 35 | unsigned32 length, |
---|
| 36 | Objects_Id *id |
---|
| 37 | ) |
---|
| 38 | { |
---|
[3b76313] | 39 | _Internal_error_Occurred( |
---|
| 40 | INTERNAL_ERROR_RTEMS_API, |
---|
| 41 | FALSE, |
---|
| 42 | RTEMS_NOT_CONFIGURED |
---|
| 43 | ); |
---|
[3a4ae6c] | 44 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 45 | } |
---|
| 46 | |
---|
| 47 | rtems_status_code rtems_port_ident( |
---|
[3235ad9] | 48 | rtems_name name, |
---|
[ac7d5ef0] | 49 | Objects_Id *id |
---|
| 50 | ) |
---|
| 51 | { |
---|
[3b76313] | 52 | _Internal_error_Occurred( |
---|
| 53 | INTERNAL_ERROR_RTEMS_API, |
---|
| 54 | FALSE, |
---|
| 55 | RTEMS_NOT_CONFIGURED |
---|
| 56 | ); |
---|
[3a4ae6c] | 57 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 58 | } |
---|
| 59 | |
---|
| 60 | rtems_status_code rtems_port_delete( |
---|
| 61 | Objects_Id id |
---|
| 62 | ) |
---|
| 63 | { |
---|
[3b76313] | 64 | _Internal_error_Occurred( |
---|
| 65 | INTERNAL_ERROR_RTEMS_API, |
---|
| 66 | FALSE, |
---|
| 67 | RTEMS_NOT_CONFIGURED |
---|
| 68 | ); |
---|
[3a4ae6c] | 69 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 70 | } |
---|
| 71 | |
---|
| 72 | rtems_status_code rtems_port_internal_to_external( |
---|
| 73 | Objects_Id id, |
---|
| 74 | void *internal, |
---|
| 75 | void **external |
---|
| 76 | ) |
---|
| 77 | { |
---|
[3b76313] | 78 | _Internal_error_Occurred( |
---|
| 79 | INTERNAL_ERROR_RTEMS_API, |
---|
| 80 | FALSE, |
---|
| 81 | RTEMS_NOT_CONFIGURED |
---|
| 82 | ); |
---|
[3a4ae6c] | 83 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 84 | } |
---|
| 85 | |
---|
| 86 | rtems_status_code rtems_port_external_to_internal( |
---|
| 87 | Objects_Id id, |
---|
| 88 | void *external, |
---|
| 89 | void **internal |
---|
| 90 | ) |
---|
| 91 | { |
---|
[3b76313] | 92 | _Internal_error_Occurred( |
---|
| 93 | INTERNAL_ERROR_RTEMS_API, |
---|
| 94 | FALSE, |
---|
| 95 | RTEMS_NOT_CONFIGURED |
---|
| 96 | ); |
---|
[3a4ae6c] | 97 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 98 | } |
---|