17 #ifndef _RTEMS_RTEMS_DPMEM_INL 18 #define _RTEMS_RTEMS_DPMEM_INL 41 #ifndef RTEMS_DPMEM_EXTERN 42 #define RTEMS_DPMEM_EXTERN extern 102 _Objects_Get( &_Dual_ported_memory_Information,
id, location );
void _Objects_Free(Objects_Information *information, Objects_Control *the_object)
Frees an object.
Definition: objectfree.c:25
RTEMS_DPMEM_EXTERN Objects_Information _Dual_ported_memory_Information
Define the internal Dual Ported Memory information The following define the internal Dual Ported Memo...
Definition: dpmemimpl.h:49
The following structure defines the port control block.
Definition: dpmem.h:57
Objects_Control * _Objects_Allocate(Objects_Information *information)
Allocates an object.
Definition: objectallocate.c:101
#define RTEMS_INLINE_ROUTINE
The following (in conjunction with compiler arguments) are used to choose between the use of static i...
Definition: basedefs.h:135
RTEMS_INLINE_ROUTINE Dual_ported_memory_Control * _Dual_ported_memory_Get(Objects_Id id, Objects_Locations *location)
Maps port IDs to port control blocks.
Definition: dpmemimpl.h:96
Objects_Control * _Objects_Get(Objects_Information *information, Objects_Id id, Objects_Locations *location)
Maps object ids to object control blocks.
Definition: objectget.c:23
#define RTEMS_DPMEM_EXTERN
This constant is defined to extern most of the time when using this header file.
Definition: dpmemimpl.h:42
void _Dual_ported_memory_Manager_initialization(void)
Dual Ported Memory Manager Initialization.
Definition: dpmem.c:29
Objects_Locations
This enumerated type lists the locations which may be returned by _Objects_Get.
Definition: objectimpl.h:117
Objects_Control Object
This field is the object management portion of a Port instance.
Definition: dpmem.h:59
RTEMS_INLINE_ROUTINE Dual_ported_memory_Control * _Dual_ported_memory_Allocate(void)
Allocates a port control block from the inactive chain of free port control blocks.
Definition: dpmemimpl.h:66
Inlined Routines in the Object Handler.
RTEMS_INLINE_ROUTINE void _Dual_ported_memory_Free(Dual_ported_memory_Control *the_port)
Frees a port control block to the inactive chain of free port control blocks.
Definition: dpmemimpl.h:79
uint32_t Objects_Id
The following type defines the control block used to manage object IDs.
Definition: object.h:122