Changeset a6e7d5e4 in rtems


Ignore:
Timestamp:
Nov 12, 2018, 8:00:36 AM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
3b69a0e2
Parents:
e897c7d
git-author:
Sebastian Huber <sebastian.huber@…> (11/12/18 08:00:36)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:42)
Message:

score: Move internal structures to objectdata.h

Update #3598.

Location:
cpukit
Files:
1 added
15 edited

Legend:

Unmodified
Added
Removed
  • cpukit/headers.am

    re897c7d ra6e7d5e4  
    331331include_rtems_score_HEADERS += include/rtems/score/muteximpl.h
    332332include_rtems_score_HEADERS += include/rtems/score/object.h
     333include_rtems_score_HEADERS += include/rtems/score/objectdata.h
    333334include_rtems_score_HEADERS += include/rtems/score/objectimpl.h
    334335include_rtems_score_HEADERS += include/rtems/score/objectmp.h
  • cpukit/include/rtems/extensiondata.h

    re897c7d ra6e7d5e4  
    2020
    2121#include <rtems/extension.h>
    22 #include <rtems/score/object.h>
     22#include <rtems/score/objectdata.h>
    2323
    2424#ifdef __cplusplus
  • cpukit/include/rtems/posix/mqueue.h

    re897c7d ra6e7d5e4  
    3535#include <mqueue.h> /* struct mq_attr */
    3636#include <rtems/score/coremsg.h>
    37 #include <rtems/score/object.h>
     37#include <rtems/score/objectdata.h>
    3838
    3939#ifdef __cplusplus
  • cpukit/include/rtems/posix/semaphore.h

    re897c7d ra6e7d5e4  
    2121
    2222#include <semaphore.h>
    23 #include <rtems/score/object.h>
     23#include <rtems/score/objectdata.h>
    2424
    2525#ifdef __cplusplus
  • cpukit/include/rtems/posix/shm.h

    re897c7d ra6e7d5e4  
    1616#define _RTEMS_POSIX_SHM_H
    1717
    18 #include <rtems/score/object.h>
     18#include <rtems/score/objectdata.h>
    1919#include <rtems/score/threadq.h>
    2020
  • cpukit/include/rtems/posix/timer.h

    re897c7d ra6e7d5e4  
    2020#define _RTEMS_POSIX_TIMER_H
    2121
    22 #include <rtems/score/object.h>
     22#include <rtems/score/objectdata.h>
    2323#include <rtems/score/watchdog.h>
    2424
  • cpukit/include/rtems/rtems/barrierdata.h

    re897c7d ra6e7d5e4  
    2020
    2121#include <rtems/rtems/barrier.h>
    22 #include <rtems/score/object.h>
     22#include <rtems/score/objectdata.h>
    2323#include <rtems/score/corebarrier.h>
    2424
  • cpukit/include/rtems/rtems/dpmemdata.h

    re897c7d ra6e7d5e4  
    1919
    2020#include <rtems/rtems/dpmem.h>
    21 #include <rtems/score/object.h>
     21#include <rtems/score/objectdata.h>
    2222
    2323#ifdef __cplusplus
  • cpukit/include/rtems/rtems/messagedata.h

    re897c7d ra6e7d5e4  
    1919
    2020#include <rtems/rtems/message.h>
    21 #include <rtems/score/object.h>
    2221#include <rtems/score/coremsg.h>
     22#include <rtems/score/objectdata.h>
    2323
    2424#ifdef __cplusplus
  • cpukit/include/rtems/rtems/partdata.h

    re897c7d ra6e7d5e4  
    2020#include <rtems/rtems/part.h>
    2121#include <rtems/score/isrlock.h>
    22 #include <rtems/score/object.h>
     22#include <rtems/score/objectdata.h>
    2323
    2424#ifdef __cplusplus
  • cpukit/include/rtems/rtems/regiondata.h

    re897c7d ra6e7d5e4  
    2020#include <rtems/rtems/region.h>
    2121#include <rtems/score/heap.h>
    22 #include <rtems/score/object.h>
     22#include <rtems/score/objectdata.h>
    2323#include <rtems/score/threadq.h>
    2424
  • cpukit/include/rtems/rtems/timerdata.h

    re897c7d ra6e7d5e4  
    2222
    2323#include <rtems/rtems/timer.h>
    24 #include <rtems/score/object.h>
     24#include <rtems/score/objectdata.h>
    2525#include <rtems/score/watchdog.h>
    2626
  • cpukit/include/rtems/score/object.h

    re897c7d ra6e7d5e4  
    2323#include <rtems/score/basedefs.h>
    2424#include <rtems/score/cpu.h>
    25 #include <rtems/score/chain.h>
    26 #include <rtems/score/rbtree.h>
    2725
    2826#ifdef __cplusplus
     
    214212/** This macro is used to generically specify the last API index. */
    215213#define OBJECTS_APIS_LAST OBJECTS_POSIX_API
    216 
    217 /**
    218  *  The following defines the Object Control Block used to manage
    219  *  each object local to this node.
    220  */
    221 typedef struct {
    222   /** This is the chain node portion of an object. */
    223   Chain_Node     Node;
    224   /** This is the object's ID. */
    225   Objects_Id     id;
    226   /** This is the object's name. */
    227   Objects_Name   name;
    228 } Objects_Control;
    229 
    230 #if defined( RTEMS_MULTIPROCESSING )
    231 /**
    232  * @brief This defines the Global Object Control Block used to manage objects
    233  * resident on other nodes.
    234  */
    235 typedef struct {
    236   /**
    237    * @brief Nodes to manage active and inactive global objects.
    238    */
    239   union {
    240     /**
    241      * @brief Inactive global objects reside on a chain.
    242      */
    243     Chain_Node Inactive;
    244 
    245     struct {
    246       /**
    247        * @brief Node to lookup an active global object by identifier.
    248        */
    249       RBTree_Node Id_lookup;
    250 
    251       /**
    252        * @brief Node to lookup an active global object by name.
    253        */
    254       RBTree_Node Name_lookup;
    255     } Active;
    256   } Nodes;
    257 
    258   /**
    259    * @brief The global object identifier.
    260    */
    261   Objects_Id id;
    262 
    263   /**
    264    * @brief The global object name.
    265    *
    266    * Using an unsigned thirty two bit value is broken but works.  If any API is
    267    * MP with variable length names .. BOOM!!!!
    268    */
    269   uint32_t name;
    270 } Objects_MP_Control;
    271 #endif
    272214
    273215/**
  • cpukit/include/rtems/score/objectimpl.h

    re897c7d ra6e7d5e4  
    2020#define _RTEMS_SCORE_OBJECTIMPL_H
    2121
    22 #include <rtems/score/object.h>
     22#include <rtems/score/objectdata.h>
    2323#include <rtems/score/apimutex.h>
    2424#include <rtems/score/isrlock.h>
  • cpukit/include/rtems/score/thread.h

    re897c7d ra6e7d5e4  
    2828#endif
    2929#include <rtems/score/isrlock.h>
    30 #include <rtems/score/object.h>
     30#include <rtems/score/objectdata.h>
    3131#include <rtems/score/priority.h>
    3232#include <rtems/score/schedulernode.h>
Note: See TracChangeset for help on using the changeset viewer.