Changeset 257668d in rtems


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

rtems: Move internal structures to messagedata.h

Update #3598.

Location:
cpukit
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/headers.am

    refc227cd r257668d  
    244244include_rtems_rtems_HEADERS += include/rtems/rtems/mainpage.h
    245245include_rtems_rtems_HEADERS += include/rtems/rtems/message.h
     246include_rtems_rtems_HEADERS += include/rtems/rtems/messagedata.h
    246247include_rtems_rtems_HEADERS += include/rtems/rtems/messageimpl.h
    247248include_rtems_rtems_HEADERS += include/rtems/rtems/modes.h
  • cpukit/include/rtems/confdefs.h

    refc227cd r257668d  
    3535#include <rtems/rtems/barrierdata.h>
    3636#include <rtems/rtems/dpmemdata.h>
     37#include <rtems/rtems/messagedata.h>
    3738#include <rtems/rtems/ratemondata.h>
    3839#include <rtems/posix/key.h>
  • cpukit/include/rtems/rtems/message.h

    refc227cd r257668d  
    11/**
    2  * @file rtems/rtems/message.h
    3  *
    4  * @defgroup ClassicMessageQueue Message Queues
    5  *
    6  * @ingroup ClassicRTEMS
    7  * @brief Message Queue Manager
    8  *
    9  * This include file contains all the constants and structures associated
    10  * with the Message Queue Manager. This manager provides a mechanism for
    11  * communication and synchronization between tasks using messages.
    12  *
    13  * Directives provided are:
    14  *
    15  * - create a queue
    16  * - get ID of a queue
    17  * - delete a queue
    18  * - put a message at the rear of a queue
    19  * - put a message at the front of a queue
    20  * - broadcast N messages to a queue
    21  * - receive message from a queue
    22  * - flush all messages on a queue
     2 * @file
     3 *
     4 * @ingroup ClassicMessageQueue
     5 *
     6 * @brief Classic Message Queue Manager API
    237 */
    248
     
    3418#define _RTEMS_RTEMS_MESSAGE_H
    3519
     20#include <rtems/rtems/attr.h>
     21#include <rtems/rtems/options.h>
     22#include <rtems/rtems/status.h>
    3623#include <rtems/rtems/types.h>
    37 #include <rtems/rtems/status.h>
    38 #include <rtems/rtems/options.h>
    39 #include <rtems/rtems/attr.h>
    40 #include <rtems/score/object.h>
    41 #include <rtems/score/coremsg.h>
    4224
    4325#ifdef __cplusplus
    4426extern "C" {
    4527#endif
    46 
    47 /**
    48  *  @ingroup ClassicMessageQueueImpl
    49  *
    50  *  The following records define the control block used to manage
    51  *  each message queue.
    52  */
    53 typedef struct {
    54   /** This field is the inherited object characteristics. */
    55   Objects_Control             Object;
    56   /** This field is the instance of the SuperCore Message Queue. */
    57   CORE_message_queue_Control  message_queue;
    58   /** This field is the attribute set as defined by the API. */
    59   rtems_attribute             attribute_set;
    60 }   Message_queue_Control;
    6128
    6229/**
  • cpukit/include/rtems/rtems/messageimpl.h

    refc227cd r257668d  
    11/**
    2  * @file rtems/rtems/message.inl
     2 * @file
    33 *
    4  *  This include file contains the static inline implementation of all
    5  *  inlined routines in the Message Manager.
     4 * @ingroup ClassicMessageQueueImpl
     5 *
     6 * @brief Classic Message Queue Manager Implementation
    67 */
    78
     
    1718#define _RTEMS_RTEMS_MESSAGEIMPL_H
    1819
    19 #include <rtems/rtems/message.h>
     20#include <rtems/rtems/messagedata.h>
    2021#include <rtems/score/objectimpl.h>
    2122#include <rtems/score/coremsgimpl.h>
Note: See TracChangeset for help on using the changeset viewer.