5
Last change
on this file since a6e7d5e4 was
a6e7d5e4,
checked in by Sebastian Huber <sebastian.huber@…>, on 11/12/18 at 08:00:36
|
score: Move internal structures to objectdata.h
Update #3598.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup ClassicDPMEMImpl |
---|
5 | * |
---|
6 | * @brief Classic Dual Ported Memory Manager Data Structures |
---|
7 | */ |
---|
8 | |
---|
9 | /* COPYRIGHT (c) 1989-2008. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef _RTEMS_RTEMS_DPMEMDATA_H |
---|
18 | #define _RTEMS_RTEMS_DPMEMDATA_H |
---|
19 | |
---|
20 | #include <rtems/rtems/dpmem.h> |
---|
21 | #include <rtems/score/objectdata.h> |
---|
22 | |
---|
23 | #ifdef __cplusplus |
---|
24 | extern "C" { |
---|
25 | #endif |
---|
26 | |
---|
27 | /** |
---|
28 | * @addtogroup ClassicDPMEMImpl |
---|
29 | * |
---|
30 | * @{ |
---|
31 | */ |
---|
32 | |
---|
33 | /** |
---|
34 | * The following structure defines the port control block. Each port |
---|
35 | * has a control block associated with it. This control block contains |
---|
36 | * all information required to support the port related operations. |
---|
37 | */ |
---|
38 | typedef struct { |
---|
39 | /** This field is the object management portion of a Port instance. */ |
---|
40 | Objects_Control Object; |
---|
41 | /** This field is the base internal address of the port. */ |
---|
42 | void *internal_base; |
---|
43 | /** This field is the base external address of the port. */ |
---|
44 | void *external_base; |
---|
45 | /** This field is the length of dual-ported area of the port. */ |
---|
46 | uint32_t length; |
---|
47 | } Dual_ported_memory_Control; |
---|
48 | |
---|
49 | /** @} */ |
---|
50 | |
---|
51 | #ifdef __cplusplus |
---|
52 | } |
---|
53 | #endif |
---|
54 | |
---|
55 | #endif |
---|
56 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.