RTEMS: cpukit/include/rtems/rtems/dpmemdata.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
dpmemdata.h
Go to the documentation of this file.
1
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
24extern "C" {
25#endif
26
38 typedef struct {
40 Objects_Control Object;
42 void *internal_base;
44 void *external_base;
46 uint32_t length;
47} Dual_ported_memory_Control;
48
52extern Objects_Information _Dual_ported_memory_Information;
53
63#define DUAL_PORTED_MEMORY_INFORMATION_DEFINE( max ) \
64 OBJECTS_INFORMATION_DEFINE( \
65 _Dual_ported_memory, \
66 OBJECTS_CLASSIC_API, \
67 OBJECTS_RTEMS_PORTS, \
68 Dual_ported_memory_Control, \
69 max, \
70 OBJECTS_NO_STRING_NAME, \
71 NULL \
72 )
73
76#ifdef __cplusplus
77}
78#endif
79
80#endif
81/* end of include file */
dpmem.h
Classic Dual Ported Memory Manager API.
_Dual_ported_memory_Information
Objects_Information _Dual_ported_memory_Information
The Classic Dual Ported Memory objects information.
objectdata.h
Object Handler Data Structures.
Dual_ported_memory_Control
Definition: dpmemdata.h:38
Dual_ported_memory_Control::Object
Objects_Control Object
Definition: dpmemdata.h:40
Dual_ported_memory_Control::length
uint32_t length
Definition: dpmemdata.h:46
Dual_ported_memory_Control::external_base
void * external_base
Definition: dpmemdata.h:44
Dual_ported_memory_Control::internal_base
void * internal_base
Definition: dpmemdata.h:42
Objects_Control
Definition: objectdata.h:39
Objects_Information
The information structure used to manage each API class of objects.
Definition: objectdata.h:176