From 0a10eb30c2bb599c4587bafc5e7f10e098c8dd71 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sun, 28 Jul 2013 13:49:28 +0200 Subject: score: Move object MP content to public API --- cpukit/score/include/rtems/score/object.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'cpukit/score/include/rtems/score/object.h') diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index f06342facb..b231039c6a 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -233,6 +233,22 @@ typedef struct { Objects_Name name; } Objects_Control; +#if defined( RTEMS_MULTIPROCESSING ) +/** + * This defines the Global Object Control Block used to manage + * objects resident on other nodes. It is derived from Object. + */ +typedef struct { + /** This is an object control structure. */ + Objects_Control Object; + /** This is the name of the object. Using an unsigned thirty two + * bit value is broken but works. If any API is MP with variable + * length names .. BOOM!!!! + */ + uint32_t name; +} Objects_MP_Control; +#endif + /** * No object can have this ID. */ -- cgit v1.2.3