RTEMS: cpukit/libmisc/monitor/mon-editor.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Functions
mon-editor.c File Reference

Command line editor for RTEMS monitor. More...

`#include <rtems.h>`
`#include <rtems/monitor.h>`
`#include <stdio.h>`
`#include <string.h>`
`#include <stdlib.h>`
`#include <inttypes.h>`
`#include <termios.h>`
`#include <unistd.h>`

## Data Structures
struct | translation_table

## Macros
#define | MONITOR_PROMPT "rtems" /* will have '> ' appended */
#define | KEYS_EXTENDED (0x8000)
#define | KEYS_NORMAL_MASK (0x00ff)
#define | KEYS_INS (0)
#define | KEYS_DEL (1)
#define | KEYS_UARROW (2)
#define | KEYS_DARROW (3)
#define | KEYS_LARROW (4)
#define | KEYS_RARROW (5)
#define | KEYS_HOME (6)
#define | KEYS_END (7)
#define | KEYS_F1 (8)
#define | KEYS_F2 (9)
#define | KEYS_F3 (10)
#define | KEYS_F4 (11)
#define | KEYS_F5 (12)
#define | KEYS_F6 (13)
#define | KEYS_F7 (14)
#define | KEYS_F8 (15)
#define | KEYS_F9 (16)
#define | KEYS_F10 (17)
#define | RTEMS_COMMAND_BUFFER_SIZE (75)
#define | RTEMS_COMMAND_HISTORIES (20)

## Functions
int | rtems_monitor_make_argv (char *cp, int *argc_p, char **argv)
int | rtems_monitor_command_read (char *command, int *argc, char **argv)
void | rtems_monitor_task (rtems_task_argument monitor_flags)
void | rtems_monitor_kill (void)
void | rtems_monitor_init (uint32_t monitor_flags)

## Detailed Description

Command line editor for RTEMS monitor.