summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor/mon-object.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-01 22:19:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-01 22:19:33 +0000
commit63977bb4d3d7dc0d556d63a386ac74c21ec4ebd3 (patch)
tree4c3a4ea9678d027e769f0e5ab2d3a48f5c52b625 /cpukit/libmisc/monitor/mon-object.c
parent2002-07-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-63977bb4d3d7dc0d556d63a386ac74c21ec4ebd3.tar.bz2
2002-07-01 Joel Sherrill <joel@OARcorp.com>
* capture/capture-cli.c, cpuuse/cpuuse.c, monitor/mon-monitor.c, monitor/mon-object.c, monitor/monitor.h: Corrected use of _Objects_Information_table now that it is a two dimensional array based upon API and class. In addition, in the monitor, corrected an error which occured when a target has 64 bit pointers.
Diffstat (limited to 'cpukit/libmisc/monitor/mon-object.c')
-rw-r--r--cpukit/libmisc/monitor/mon-object.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/libmisc/monitor/mon-object.c b/cpukit/libmisc/monitor/mon-object.c
index 8112372d86..73a5979da5 100644
--- a/cpukit/libmisc/monitor/mon-object.c
+++ b/cpukit/libmisc/monitor/mon-object.c
@@ -129,7 +129,8 @@ rtems_monitor_id_fixup(
if (rtems_get_class(id) != OBJECTS_NO_CLASS)
type = rtems_get_class(id);
- id = _Objects_Build_id(type, default_node, rtems_get_index(id));
+ id = _Objects_Build_id(
+ OBJECTS_CLASSIC_API, type, default_node, rtems_get_index(id));
}
return id;
}
@@ -295,7 +296,7 @@ rtems_monitor_object_dump_all(
rtems_id next_id;
rtems_monitor_union_t canonical;
- next_id = RTEMS_OBJECT_ID_INITIAL(info->type, rtems_monitor_default_node);
+ next_id = RTEMS_OBJECT_ID_INITIAL(OBJECTS_CLASSIC_API, info->type, rtems_monitor_default_node);
while ((next_id = rtems_monitor_object_canonical_next(
info,