diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-23 19:30:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-23 19:30:23 +0000 |
commit | 3235ad9a2cd717df901853ad5220a4aaffae84a9 (patch) | |
tree | f73a01d8c3065188a3ab283cf545b3ce7bc4f696 /cpukit/score/include/rtems/score/objectmp.h | |
parent | Added file .. fixed RCS Id (diff) | |
download | rtems-3235ad9a2cd717df901853ad5220a4aaffae84a9.tar.bz2 |
Support for variable length names added to Object Handler. This supports
both fixed length "raw" names and strings from the API's point of view.
Both inline and macro implementations were tested.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/objectmp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/objectmp.h b/cpukit/score/include/rtems/score/objectmp.h index 0d29fda753..6ec5ed1781 100644 --- a/cpukit/score/include/rtems/score/objectmp.h +++ b/cpukit/score/include/rtems/score/objectmp.h @@ -28,7 +28,8 @@ extern "C" { typedef struct { Objects_Control Object; - Objects_Name name; + unsigned32 name; /* XXX broken but works */ + /* XXX If any API is MP with variable length names .. BOOM!!!! */ } Objects_MP_Control; /* @@ -93,7 +94,7 @@ STATIC INLINE boolean _Objects_MP_Is_null_global_object ( boolean _Objects_MP_Open ( Objects_Information *information, - Objects_Name the_name, + unsigned32 the_name, /* XXX -- wrong for variable length */ Objects_Id the_id, boolean is_fatal_error ); |