From 9863dbfdd45ff4a8fcd06b8a146f7870e4159db9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 18 Aug 1995 21:42:58 +0000 Subject: + 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 --- cpukit/libmisc/monitor/mon-object.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'cpukit/libmisc/monitor') diff --git a/cpukit/libmisc/monitor/mon-object.c b/cpukit/libmisc/monitor/mon-object.c index 5add90763e..2747b23551 100644 --- a/cpukit/libmisc/monitor/mon-object.c +++ b/cpukit/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!!!!! " +#endif + id = _Objects_Build_id(0, default_node, rtems_get_index(id)); #endif } return id; -- cgit v1.2.3