Changeset e8e914b3 in rtems for cpukit


Ignore:
Timestamp:
Nov 8, 2018, 9:37:22 AM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
739df1f5
Parents:
f00c5c6
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 09:37:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:40)
Message:

rtems: Move internal structures to regiondata.h

Update #3598.

Location:
cpukit
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/headers.am

    rf00c5c6 re8e914b3  
    261261include_rtems_rtems_HEADERS += include/rtems/rtems/ratemonimpl.h
    262262include_rtems_rtems_HEADERS += include/rtems/rtems/region.h
     263include_rtems_rtems_HEADERS += include/rtems/rtems/regiondata.h
    263264include_rtems_rtems_HEADERS += include/rtems/rtems/regionimpl.h
    264265include_rtems_rtems_HEADERS += include/rtems/rtems/sem.h
  • cpukit/include/rtems/confdefs.h

    rf00c5c6 re8e914b3  
    3838#include <rtems/rtems/partdata.h>
    3939#include <rtems/rtems/ratemondata.h>
     40#include <rtems/rtems/regiondata.h>
    4041#include <rtems/posix/key.h>
    4142#include <rtems/posix/mqueue.h>
  • cpukit/include/rtems/rtems/region.h

    rf00c5c6 re8e914b3  
    11/**
    2  * @file rtems/rtems/region.h
    3  *
    4  * @defgroup ClassicRegion Regions
    5  *
    6  * @ingroup ClassicRTEMS
    7  * @brief Region Manager
    8  *
    9  * This include file contains all the constants and structures associated
    10  * with the Region Manager. This manager provides facilities to dynamically
    11  * allocate memory in variable sized units which are returned as segments.
    12  *
    13  * Directives provided are:
    14  *
    15  * - create a region
    16  * - get an ID of a region
    17  * - delete a region
    18  * - get a segment from a region
    19  * - return a segment to a region
     2 * @file
     3 *
     4 * @ingroup ClassicRegion
     5 *
     6 * @brief Classic Region Manager API
    207 */
    218
     
    3522#include <rtems/rtems/status.h>
    3623#include <rtems/rtems/types.h>
    37 #include <rtems/score/heap.h>
    38 #include <rtems/score/threadq.h>
    3924
    4025#ifdef __cplusplus
     
    5136 */
    5237/**@{*/
    53 
    54 /**
    55  *  The following records define the control block used to manage
    56  *  each region.
    57  */
    58 
    59 typedef struct {
    60   Objects_Control       Object;
    61   Thread_queue_Control  Wait_queue;            /* waiting threads        */
    62   const Thread_queue_Operations *wait_operations;
    63   uintptr_t             maximum_segment_size;  /* in bytes               */
    64   rtems_attribute       attribute_set;
    65   Heap_Control          Memory;
    66 }  Region_Control;
    6738
    6839/**
  • cpukit/include/rtems/rtems/regionimpl.h

    rf00c5c6 re8e914b3  
    1818#define _RTEMS_RTEMS_REGIONIMPL_H
    1919
    20 #include <rtems/rtems/region.h>
     20#include <rtems/rtems/regiondata.h>
    2121#include <rtems/score/apimutex.h>
    2222#include <rtems/score/heapimpl.h>
  • cpukit/libmisc/monitor/mon-region.c

    rf00c5c6 re8e914b3  
    1010#include <rtems/monitor.h>
    1111#include <rtems/rtems/attrimpl.h>
     12#include <rtems/rtems/regiondata.h>
    1213#include <stdio.h>
    1314#include <string.h>    /* memcpy() */
Note: See TracChangeset for help on using the changeset viewer.