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