RTEMS 6.3
Loading...
Searching...
No Matches
Region Manager

This group contains the Region Manager implementation. More...

Files

file  cpukit/include/rtems/rtems/region.h
 This header file defines the Region Manager API.
file  cpukit/include/rtems/rtems/regiondata.h
 This header file provides data structures used by the implementation and the Application Configuration to define _Region_Information.
file  cpukit/include/rtems/rtems/regionimpl.h
 This header file provides the implementation interfaces of the Region Manager.
file  cpukit/rtems/src/region.c
 This source file contains a definition of the _Region_Information with zero objects.
file  cpukit/rtems/src/regioncreate.c
 This source file contains the implementation of rtems_region_create() and the Region Manager system initialization.
file  cpukit/rtems/src/regiondelete.c
 This source file contains the implementation of rtems_region_delete().
file  cpukit/rtems/src/regionextend.c
 This source file contains the implementation of rtems_region_extend().
file  cpukit/rtems/src/regiongetfreeinfo.c
 This source file contains the implementation of rtems_region_get_free_information().
file  cpukit/rtems/src/regiongetinfo.c
 This source file contains the implementation of rtems_region_get_information().
file  cpukit/rtems/src/regiongetsegment.c
 This source file contains the implementation of rtems_region_get_segment().
file  cpukit/rtems/src/regiongetsegmentsize.c
 This source file contains the implementation of rtems_region_get_segment_size().
file  cpukit/rtems/src/regionident.c
 This source file contains the implementation of rtems_region_ident().
file  cpukit/rtems/src/regionprocessqueue.c
 This source file contains the implementation of _Region_Process_queue().
file  cpukit/rtems/src/regionresizesegment.c
 This source file contains the implementation of rtems_region_resize_segment().
file  cpukit/rtems/src/regionreturnsegment.c
 This source file contains the implementation of rtems_region_return_segment().

Data Structures

struct  Region_Control

Macros

#define REGION_INFORMATION_DEFINE(max)
 Macro to define the objects information for the Classic Region objects.
#define REGION_OF_THREAD_QUEUE_QUEUE(queue)

Functions

void _Region_Process_queue (Region_Control *the_region)
 Process Region Queue.

Variables

Objects_Information _Region_Information
 The Classic Region objects information.

Detailed Description

This group contains the Region Manager implementation.

Macro Definition Documentation

◆ REGION_INFORMATION_DEFINE

#define REGION_INFORMATION_DEFINE ( max)
Value:
_Region, \
OBJECTS_CLASSIC_API, \
OBJECTS_RTEMS_REGIONS, \
max, \
NULL \
)
#define OBJECTS_NO_STRING_NAME
Constant for the object information string name length to indicate that this object class has no stri...
Definition objectdata.h:123
#define OBJECTS_INFORMATION_DEFINE(name, api, cls, type, max, nl, ex)
Statically initializes an objects information.
Definition objectdata.h:449
Definition regiondata.h:60

Macro to define the objects information for the Classic Region objects.

This macro should only be used by <rtems/confdefs.h>.

Parameters
maxThe configured object maximum (the OBJECTS_UNLIMITED_OBJECTS flag may be set).

◆ REGION_OF_THREAD_QUEUE_QUEUE

#define REGION_OF_THREAD_QUEUE_QUEUE ( queue)
Value:
RTEMS_CONTAINER_OF( queue, Region_Control, Wait_queue.Queue )
#define RTEMS_CONTAINER_OF(_m, _type, _member_name)
Gets the container of a member.
Definition basedefs.h:306

Function Documentation

◆ _Region_Process_queue()

void _Region_Process_queue ( Region_Control * the_region)
extern

Process Region Queue.

This is a helper routine which is invoked any time memory is freed. It looks at the set of waiting tasks and attempts to satisfy all outstanding requests.

Parameters
[in]the_regionis the the region