RTEMS 6.1-rc4
|
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_handle * | rtems_fdt_get_shell_handle (void) |
rtems_fdt_write_handler | rtems_fdt_set_shell_write_handler (rtems_fdt_write_handler handler) |
rtems_fdt_read_handler | rtems_fdt_set_shell_read_handler (rtems_fdt_read_handler handler) |
RTEMS Flattened Device Tree Shell Command.
Command to play with the memory in a FDT.
typedef int(* rtems_fdt_shell_handler) (int argc, char *argv[]) |
The type of the shell handlers we have.
void rtems_fdt_add_shell_command | ( | void | ) |
Add a shell command to access memory and registers associated with the DTF.
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.
rtems_fdt_read_handler rtems_fdt_set_shell_read_handler | ( | rtems_fdt_read_handler | handler | ) |
Set the read handler returning the current handler.
rtems_fdt_write_handler rtems_fdt_set_shell_write_handler | ( | rtems_fdt_write_handler | handler | ) |
Set the write handler returning the current handler.