RTEMS 6.3
Loading...
Searching...
No Matches
rtems-fdt-shell.h File Reference

RTEMS Flattened Device Tree Shell Command. More...

#include <rtems/rtems-fdt.h>

Go to the source code of this file.

Typedefs

typedef void(*) rtems_fdt_write_handler(uintptr_t address, uint32_t value)
typedef uint32_t(*) rtems_fdt_read_handler(uintptr_t address)

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)

Detailed Description

RTEMS Flattened Device Tree Shell Command.

Support for loading, managing and accessing FDT blobs in RTEMS.

Typedef Documentation

◆ rtems_fdt_read_handler

typedef uint32_t(*) rtems_fdt_read_handler(uintptr_t address)

Read handler call to read from the address property.

◆ rtems_fdt_write_handler

typedef void(*) rtems_fdt_write_handler(uintptr_t address, uint32_t value)

Write handler call to write from the address property.

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.

◆ rtems_fdt_set_shell_read_handler()

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_set_shell_write_handler()

rtems_fdt_write_handler rtems_fdt_set_shell_write_handler ( rtems_fdt_write_handler handler)

Set the write handler returning the current handler.