RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros | Functions
mon-object.c File Reference

RTEMS Monitor "object" support. More...

#include <rtems.h>
#include <rtems/monitor.h>
#include <rtems/extensionimpl.h>
#include <rtems/rtems/messageimpl.h>
#include <rtems/rtems/partimpl.h>
#include <rtems/rtems/regionimpl.h>
#include <rtems/rtems/semimpl.h>
#include <rtems/rtems/tasksimpl.h>
#include <rtems/posix/pthreadimpl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Macros

#define NUMELEMS(arr)   (sizeof(arr) / sizeof(arr[0]))
 

Functions

rtems_id rtems_monitor_id_fixup (rtems_id id, uint32_t default_node, rtems_monitor_object_type_t type)
 
const rtems_monitor_object_info_trtems_monitor_object_lookup (rtems_monitor_object_type_t type)
 
rtems_id rtems_monitor_object_canonical_next (const rtems_monitor_object_info_t *info, rtems_id id, void *canonical)
 
rtems_id rtems_monitor_object_canonical_get (rtems_monitor_object_type_t type, rtems_id id, void *canonical, size_t *size_p)
 
void rtems_monitor_object_cmd (int argc, char **argv, const rtems_monitor_command_arg_t *command_arg, bool verbose)
 

Detailed Description

RTEMS Monitor "object" support.

Used to traverse object lists and print them out. An object can be an RTEMS object (chain based stuff) or a "misc" object such as a device driver.

Each object has its own file in this directory (eg: extension.c) That file provides routines to convert a "native" structure to its canonical form, print a canonical structure, etc.

TODO: should allow for non-numeric id's???