![]() |
RTEMS 6.3
|
Files | |
| mon-command.c | |
| Command support routines for RTEMS monitor. | |
| mon-config.c | |
| RTEMS Config display support. | |
| mon-driver.c | |
| RTEMS monitor IO (device drivers) support. | |
| mon-editor.c | |
| Command line editor for RTEMS monitor. | |
| mon-extension.c | |
| RTEMS Monitor extension support. | |
| mon-itask.c | |
| RTEMS Monitor init task support. | |
| mon-manager.c | |
| RTEMS Monitor "manager" support. | |
| mon-monitor.c | |
| RTEMS monitor main body. | |
| mon-mpci.c | |
| RTEMS MPCI Config display support. | |
| mon-object.c | |
| RTEMS Monitor "object" support. | |
| mon-part.c | |
| RTEMS Monitor partition support. | |
| mon-prmisc.c | |
| Print misc stuff for the monitor dump routines. | |
| mon-queue.c | |
| Monitor Support for Message Queues. | |
| mon-region.c | |
| RTEMS Monitor region support. | |
| mon-sema.c | |
| RTEMS Monitor semaphore support. | |
| mon-server.c | |
| RTEMS monitor server. | |
| mon-symbols.c | |
| Symbol table manager for the RTEMS monitor. | |
| mon-task.c | |
| RTEMS Monitor task support. | |
| symbols.h | |
| RTEMS monitor symbol table functions. | |
The monitor task is an optional task that knows about RTEMS data structures and can print out information about them. It is a work-in-progress and needs many more commands, but is useful now.
The monitor works best when it is the highest priority task, so all your other tasks should ideally be at some priority greater than 1.
```c
#include <rtems/monitor.h>
...
rtems_monitor_init(0);
```
The parameter to rtems_monitor_init() tells the monitor whether
to suspend itself on startup. A value of 0 causes the monitor
to immediately enter command mode; a non-zero value causes the
monitor to suspend itself after creation and wait for explicit
wakeup.
rtems_monitor_wakeup();
wakes up a suspended monitor and causes it to reenter command mode.
The monitor prompt is 'rtems> '.
Can abbreviate commands to "uniquity"
There is a 'help' command. Here is the output from various
help commands:
Commands (may be abbreviated)