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