RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Typedefs | Functions
rtl-shell.c File Reference

RTEMS Run-Time Link Editor Shell Commands. More...

#include <inttypes.h>
#include <stdio.h>
#include <string.h>
#include <rtems/rtl/rtl.h>
#include "rtl-chain-iterator.h"
#include "rtl-shell.h"
#include "rtl-trace.h"
Include dependency graph for rtl-shell.c:

Data Structures

struct  rtems_rtl_shell_cmd_t
 Table of handlers we parse to invoke the command. More...
 
struct  rtems_rtl_obj_summary_t
 Object summary data. More...
 
struct  rtems_rtl_obj_print_t
 Object print data. More...
 

Macros

#define PRIdoff_t   PRIo64
 

Typedefs

typedef int(* rtems_rtl_shell_handler_t) (rtems_rtl_data_t *rtl, int argc, char *argv[])
 The type of the shell handlers we have.
 

Functions

int rtems_rtl_shell_command (int argc, char *argv[])
 The RTL single shell command contains sub-commands. More...
 

Detailed Description

RTEMS Run-Time Link Editor Shell Commands.

A simple RTL command to aid using the RTL.

Function Documentation

◆ rtems_rtl_shell_command()

int rtems_rtl_shell_command ( int  argc,
char *  argv[] 
)

The RTL single shell command contains sub-commands.

Parameters
argcThe argument count.
argvArray of argument strings.
Return values
0No error.
Returns
int The exit code.