diff options
Diffstat (limited to 'cpukit/libmisc/monitor/mon-manager.c')
-rw-r--r-- | cpukit/libmisc/monitor/mon-manager.c | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/cpukit/libmisc/monitor/mon-manager.c b/cpukit/libmisc/monitor/mon-manager.c deleted file mode 100644 index d36ec926b6..0000000000 --- a/cpukit/libmisc/monitor/mon-manager.c +++ /dev/null @@ -1,53 +0,0 @@ -/* - * @(#)manager.c 1.4 - 96/01/03 - * - * - * RTEMS Monitor "manager" support. - * Used to traverse object (chain) lists and print them out. - * - * $Id$ - */ - -#include <rtems.h> -#include "monitor.h" - -#include <stdio.h> - -#include <monitor.h> - -/* - * "next" routine for all objects that are RTEMS manager objects - */ - -void * -rtems_monitor_manager_next( - void *table_void, - void *canonical, - rtems_id *next_id -) -{ - Objects_Information *table = table_void; - rtems_monitor_generic_t *copy; - Objects_Control *object = 0; - unsigned32 location; - - /* - * When we are called, it must be local - */ - - if ( ! _Objects_Is_local_id(*next_id)) - goto done; - - object = _Objects_Get_next(table, *next_id, &location, next_id); - - if (object) - { - copy = (rtems_monitor_generic_t *) canonical; - copy->id = object->id; - _Objects_Copy_name_raw(object->name, ©->name, sizeof(copy->name)); - } - -done: - return object; -} - |