Changeset 0a10eb30 in rtems


Ignore:
Timestamp:
Jul 28, 2013, 11:49:28 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
f6efd0bf
Parents:
7c8830c7
git-author:
Sebastian Huber <sebastian.huber@…> (07/28/13 11:49:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/28/13 12:00:19)
Message:

score: Move object MP content to public API

Location:
cpukit/score/include/rtems/score
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/object.h

    r7c8830c7 r0a10eb30  
    233233  Objects_Name   name;
    234234} Objects_Control;
     235
     236#if defined( RTEMS_MULTIPROCESSING )
     237/**
     238 *  This defines the Global Object Control Block used to manage
     239 *  objects resident on other nodes.  It is derived from Object.
     240 */
     241typedef struct {
     242  /** This is an object control structure. */
     243  Objects_Control Object;
     244  /** This is the name of the object.  Using an unsigned thirty two
     245   *  bit value is broken but works.  If any API is MP with variable
     246   *  length names .. BOOM!!!!
     247   */
     248  uint32_t        name;
     249}   Objects_MP_Control;
     250#endif
    235251
    236252/**
  • cpukit/score/include/rtems/score/objectmp.h

    r7c8830c7 r0a10eb30  
    2020#define _RTEMS_SCORE_OBJECTMP_H
    2121
     22#ifndef _RTEMS_SCORE_OBJECTIMPL_H
     23# error "Never use <rtems/rtems/objectmp.h> directly; include <rtems/rtems/objectimpl.h> instead."
     24#endif
     25
    2226#include <rtems/score/chainimpl.h>
    2327
     
    3640 */
    3741/**@{*/
    38 
    39 /**
    40  *  This defines the Global Object Control Block used to manage
    41  *  objects resident on other nodes.  It is derived from Object.
    42  */
    43 typedef struct {
    44   /** This is an object control structure. */
    45   Objects_Control Object;
    46   /** This is the name of the object.  Using an unsigned thirty two
    47    *  bit value is broken but works.  If any API is MP with variable
    48    *  length names .. BOOM!!!!
    49    */
    50   uint32_t        name;
    51 }   Objects_MP_Control;
    5242
    5343/**
Note: See TracChangeset for help on using the changeset viewer.