RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros | Functions
mon-driver.c File Reference

RTEMS monitor IO (device drivers) support. More...

#include <rtems.h>
#include <rtems/ioimpl.h>
#include <rtems/monitor.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>

Macros

#define DATACOL   15
 
#define CONTCOL   DATACOL /* continued col */
 

Functions

void rtems_monitor_driver_canonical (rtems_monitor_driver_t *canonical_driver, const void *driver_void)
 
const void * rtems_monitor_driver_next (void *object_info RTEMS_UNUSED, rtems_monitor_driver_t *canonical_driver, rtems_id *next_id)
 
void rtems_monitor_driver_dump_header (bool verbose RTEMS_UNUSED)
 
void rtems_monitor_driver_dump (rtems_monitor_driver_t *monitor_driver, bool verbose)
 

Detailed Description

RTEMS monitor IO (device drivers) support.

There are 2 "driver" things the monitor knows about.

  1. Regular RTEMS drivers. This is a table indexed by major device number and containing driver entry points only.
  2. Driver name table. A separate table of names for drivers. The table converts driver names to a major number as index into the driver table and a minor number for an argument to driver.

Drivers are displayed with 'driver' command. Names are displayed with 'name' command.