Changeset f00c5c6 in rtems


Ignore:
Timestamp:
Nov 8, 2018, 9:32:14 AM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e8e914b3
Parents:
257668d
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 09:32:14)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:40)
Message:

rtems: Move internal structures to partdata.h

Update #3598.

Location:
cpukit
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/headers.am

    r257668d rf00c5c6  
    254254include_rtems_rtems_HEADERS += include/rtems/rtems/optionsimpl.h
    255255include_rtems_rtems_HEADERS += include/rtems/rtems/part.h
     256include_rtems_rtems_HEADERS += include/rtems/rtems/partdata.h
    256257include_rtems_rtems_HEADERS += include/rtems/rtems/partimpl.h
    257258include_rtems_rtems_HEADERS += include/rtems/rtems/partmp.h
  • cpukit/include/rtems/confdefs.h

    r257668d rf00c5c6  
    3636#include <rtems/rtems/dpmemdata.h>
    3737#include <rtems/rtems/messagedata.h>
     38#include <rtems/rtems/partdata.h>
    3839#include <rtems/rtems/ratemondata.h>
    3940#include <rtems/posix/key.h>
  • cpukit/include/rtems/rtems/part.h

    r257668d rf00c5c6  
    11/**
    2  * @file rtems/rtems/part.h
     2 * @file
    33 *
    4  * @defgroup ClassicPart Partitions
     4 * @ingroup ClassicPart
    55 *
    6  * @ingroup ClassicRTEMS
    7  * @brief Partition Manager
    8  *
    9  * This include file contains all the constants and structures associated
    10  * with the Partition Manager. This manager provides facilities to
    11  * dynamically allocate memory in fixed-sized units which are returned
    12  * as buffers.
    13  *
    14  * Directives provided are:
    15  *
    16  * - create a partition
    17  * - get an ID of a partition
    18  * - delete a partition
    19  * - get a buffer from a partition
    20  * - return a buffer to a partition
     6 * @brief Classic Partition Manager API
    217 */
    228
     
    3521#include <rtems/rtems/status.h>
    3622#include <rtems/rtems/types.h>
    37 #include <rtems/score/isrlock.h>
    3823
    3924#ifdef __cplusplus
     
    5035 */
    5136/**@{*/
    52 
    53 /**
    54  *  The following defines the control block used to manage each partition.
    55  */
    56 typedef struct {
    57   /** This field is the object management portion of a Partition instance. */
    58   Objects_Control     Object;
    59   /** This field is the lock of the Partition. */
    60   ISR_LOCK_MEMBER(    Lock )
    61   /** This field is the physical starting address of the Partition. */
    62   void               *starting_address;
    63   /** This field is the size of the Partition in bytes. */
    64   uintptr_t           length;
    65   /** This field is the size of each buffer in bytes */
    66   size_t              buffer_size;
    67   /** This field is the attribute set provided at create time. */
    68   rtems_attribute     attribute_set;
    69   /** This field is the of allocated buffers. */
    70   uintptr_t           number_of_used_blocks;
    71   /** This field is the chain used to manage unallocated buffers. */
    72   Chain_Control       Memory;
    73 }   Partition_Control;
    7437
    7538/**
  • cpukit/include/rtems/rtems/partimpl.h

    r257668d rf00c5c6  
    1818#define _RTEMS_RTEMS_PARTIMPL_H
    1919
    20 #include <rtems/rtems/part.h>
     20#include <rtems/rtems/partdata.h>
    2121#include <rtems/score/chainimpl.h>
    2222#include <rtems/score/objectimpl.h>
  • cpukit/libmisc/monitor/mon-part.c

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