RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions | Variables
mon-monitor.c File Reference
#include <rtems.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <rtems/monitor.h>
Include dependency graph for mon-monitor.c:

Macros

#define RTEMS_MONITOR_POSIX_NEXT   19
 
#define RTEMS_MONITOR_DEBUGGER_NEXT   RTEMS_MONITOR_POSIX_NEXT
 

Functions

rtems_status_code rtems_monitor_suspend (rtems_interval timeout)
 
void rtems_monitor_reset_cmd (int argc, char **argv, const rtems_monitor_command_arg_t *command_arg, bool verbose)
 
void rtems_monitor_wakeup (void)
 
void rtems_monitor_debugger_cmd (int argc, char **argv, const rtems_monitor_command_arg_t *command_arg, bool verbose)
 
void rtems_monitor_pause_cmd (int argc, char **argv, const rtems_monitor_command_arg_t *command_arg, bool verbose)
 
void rtems_monitor_fatal_cmd (int argc, char **argv, const rtems_monitor_command_arg_t *command_arg, bool verbose)
 
void rtems_monitor_continue_cmd (int argc, char **argv, const rtems_monitor_command_arg_t *command_arg, bool verbose)
 
void rtems_monitor_symbols_loadup (void)
 
int rtems_monitor_insert_cmd (rtems_monitor_command_entry_t *command)
 
void rtems_monitor_command_iterate (rtems_monitor_per_command_routine routine, void *arg)
 Iterates through all registerd commands. More...
 

Variables

rtems_tcbdebugger_interrupted_task
 
rtems_contextdebugger_interrupted_task_context
 
uint32_t debugger_trap
 
rtems_id rtems_monitor_task_id
 
uint32_t rtems_monitor_node
 
uint32_t rtems_monitor_default_node
 
rtems_symbol_table_trtems_monitor_symbols
 

Function Documentation

◆ rtems_monitor_command_iterate()

void rtems_monitor_command_iterate ( rtems_monitor_per_command_routine  routine,
void *  arg 
)

Iterates through all registerd commands.

For each command the interation routine routine is called with the command entry and the user provided argument arg. It is guaranteed that the command name and function are not NULL.