diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-23 21:06:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-23 21:06:31 +0000 |
commit | 5250ff39f042c09503b61eb81a2c705e9b06b917 (patch) | |
tree | c685bbf9969cc3ec5da6d24b7b353805d6371edb /c/src/exec/score/src/object.c | |
parent | Support for variable length names added to Object Handler. This supports (diff) | |
download | rtems-5250ff39f042c09503b61eb81a2c705e9b06b917.tar.bz2 |
Moved _Thread_Information -> _RTEMS_tasks_Information.
Added a table of object information control blocks.
Modified _Thread_Get so it looks up a thread regardless of which
thread management "entity" (manager, internal, etc) actually "owns" it.
Diffstat (limited to 'c/src/exec/score/src/object.c')
-rw-r--r-- | c/src/exec/score/src/object.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/c/src/exec/score/src/object.c b/c/src/exec/score/src/object.c index 5b64ea8802..b829258a48 100644 --- a/c/src/exec/score/src/object.c +++ b/c/src/exec/score/src/object.c @@ -68,7 +68,8 @@ void _Objects_Initialize_information( unsigned32 maximum, unsigned32 size, boolean is_string, - unsigned32 maximum_name_length + unsigned32 maximum_name_length, + boolean is_thread ) { unsigned32 minimum_index; @@ -80,6 +81,13 @@ void _Objects_Initialize_information( information->maximum = maximum; information->the_class = the_class; information->is_string = is_string; + information->is_thread = is_thread; + + /* + * Set the entry in the object information table. + */ + + _Objects_Information_table[ the_class ] = information; /* * Calculate minimum and maximum Id's @@ -379,8 +387,8 @@ rtems_status_code _Objects_Name_to_id( Objects_Control *_Objects_Get( Objects_Information *information, - Objects_Id id, - Objects_Locations *location + Objects_Id id, + Objects_Locations *location ) { Objects_Control *the_object; |