source: rtems/cpukit/include/rtems/rtems/regiondata.h @ a6e7d5e4

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.1 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup ClassicRegionImpl
5 *
6 * @brief Classic Region Manager Data Structures
7 */
8
9/* COPYRIGHT (c) 1989-2013.
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_REGIONDATA_H
18#define _RTEMS_RTEMS_REGIONDATA_H
19
20#include <rtems/rtems/region.h>
21#include <rtems/score/heap.h>
22#include <rtems/score/objectdata.h>
23#include <rtems/score/threadq.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/**
30 * @addtogroup ClassicRegionImpl
31 *
32 * @{
33 */
34
35/**
36 *  The following records define the control block used to manage
37 *  each region.
38 */
39
40typedef struct {
41  Objects_Control       Object;
42  Thread_queue_Control  Wait_queue;            /* waiting threads        */
43  const Thread_queue_Operations *wait_operations;
44  uintptr_t             maximum_segment_size;  /* in bytes               */
45  rtems_attribute       attribute_set;
46  Heap_Control          Memory;
47}  Region_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.