summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libmisc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-18 21:42:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-18 21:42:58 +0000
commit9863dbfdd45ff4a8fcd06b8a146f7870e4159db9 (patch)
tree4bdaaf1cd1e31a9a510e9627094c13f8bc19b88c /c/src/lib/libmisc
parent+ Added object type field to object id. (diff)
downloadrtems-9863dbfdd45ff4a8fcd06b8a146f7870e4159db9.tar.bz2
+ Added object type field to object id.
+ Added name pointer to Object_Control. + Modified Object Open and Close to address name field. + Removed name as separate element from Thread and Proxy Control. + Added parameter "object class" to calls to Initialize Information
Diffstat (limited to 'c/src/lib/libmisc')
-rw-r--r--c/src/lib/libmisc/monitor/mon-object.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/c/src/lib/libmisc/monitor/mon-object.c b/c/src/lib/libmisc/monitor/mon-object.c
index 5add90763e..2747b23551 100644
--- a/c/src/lib/libmisc/monitor/mon-object.c
+++ b/c/src/lib/libmisc/monitor/mon-object.c
@@ -120,12 +120,16 @@ rtems_monitor_id_fixup(
{
#if 0
/* XXX Uncomment this when types are added to id's */
- if (rtems_get_type(id) != RTEMS_OBJECT_INVALID)
- type = rtems_get_type(id);
+ if (rtems_get_class(id) != OBJECTS_NO_CLASS)
+ type = rtems_get_class(id);
id = _Objects_Build_id(type, default_node, rtems_get_index(id));
#else
- id = _Objects_Build_id(default_node, rtems_get_index(id));
+#warning "TONY... FIX ME!!!!!"
+#if defined(hppa1_1)
+#error "TONY... I SAID TO FIX ME!!!!! <HAHAHAHAHA>"
+#endif
+ id = _Objects_Build_id(0, default_node, rtems_get_index(id));
#endif
}
return id;