RTEMS 6.1-rc1
Data Structures | Macros | Typedefs | Functions
rtems-fdt-shell.c File Reference

RTEMS Flattened Device Tree Shell Command. More...

#include <ctype.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <rtems/shell.h>
#include <rtems/rtems-fdt-shell.h>

Data Structures

struct  rtems_fdt_shell_cmd
 

Macros

#define RTEMS_FDT_COMMANDS   (sizeof (table) / sizeof (const rtems_fdt_shell_cmd))
 

Typedefs

typedef int(* rtems_fdt_shell_handler) (int argc, char *argv[])
 

Functions

void rtems_fdt_add_shell_command (void)
 
rtems_fdt_handlertems_fdt_get_shell_handle (void)
 

Detailed Description

RTEMS Flattened Device Tree Shell Command.

Command to play with the memory in a FDT.

Typedef Documentation

◆ rtems_fdt_shell_handler

typedef int(* rtems_fdt_shell_handler) (int argc, char *argv[])

The type of the shell handlers we have.

Function Documentation

◆ rtems_fdt_add_shell_command()

void rtems_fdt_add_shell_command ( void  )

Add a shell command to access memory and registers associated with the DTF.

◆ rtems_fdt_get_shell_handle()

rtems_fdt_handle * rtems_fdt_get_shell_handle ( void  )

Get a pointer to the handle. You can use this to load files or register blobs and have the shell command access them.